diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-08-02 10:31:53 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-09-14 17:39:11 (GMT) |
commit | 3c050c3d99d5def5bed329c88b966fe0c78fefcc (patch) | |
tree | a75e28e47b1c2131ed82c77dcad073cdb48f20d5 /doc/asciidoc/de/fluxbox.txt | |
parent | e67b9a6f833fd8af3be105ef411f8743d94e25d9 (diff) | |
download | fluxbox-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 'doc/asciidoc/de/fluxbox.txt')
0 files changed, 0 insertions, 0 deletions