aboutsummaryrefslogtreecommitdiff
path: root/nls/C
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-02 10:31:53 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-09-14 17:39:11 (GMT)
commit3c050c3d99d5def5bed329c88b966fe0c78fefcc (patch)
treea75e28e47b1c2131ed82c77dcad073cdb48f20d5 /nls/C
parente67b9a6f833fd8af3be105ef411f8743d94e25d9 (diff)
downloadfluxbox-3c050c3d99d5def5bed329c88b966fe0c78fefcc.zip
fluxbox-3c050c3d99d5def5bed329c88b966fe0c78fefcc.tar.bz2
Add explicit ReturnType cast to operator() of FbTk::Slots
without this it wasn't possible to construct a Slot returning void from functors returning some real value because the compiler would complain about "return statement with a value in a function returning void". Theoretically, this may produce some unexpected type conversions, because static_cast is slightly stronger than implicit cast, but I judge the risk to be negligable (the alternative would be to provide explicit specializations for slots returning void - too much typing)
Diffstat (limited to 'nls/C')
0 files changed, 0 insertions, 0 deletions