aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/App.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-02 10:31:53 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-08-02 10:31:53 (GMT)
commitb4790819bc4155cdab148dc536f55a7fc0595d9a (patch)
treee31072ac841ca30156721f4ec938e8873afce350 /src/FbTk/App.hh
parent4398eb206005f2bd6ee50e3334807378276c5fd8 (diff)
downloadfluxbox_pavel-b4790819bc4155cdab148dc536f55a7fc0595d9a.zip
fluxbox_pavel-b4790819bc4155cdab148dc536f55a7fc0595d9a.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 'src/FbTk/App.hh')
0 files changed, 0 insertions, 0 deletions