diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-19 06:46:21 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-19 06:46:21 (GMT) |
commit | e3a2c56252914aa98ee7566563dc0b2884f90986 (patch) | |
tree | 99f991f1ae6f81b3d0bf19df52e621f2fc2b8861 /src/FbTk/CachedPixmap.cc | |
parent | 0ef76292c5447127dc3fd39d6272f6d88a63d145 (diff) | |
download | fluxbox-e3a2c56252914aa98ee7566563dc0b2884f90986.zip fluxbox-e3a2c56252914aa98ee7566563dc0b2884f90986.tar.bz2 |
compile fix: use 'CallMemFunWithRefArg' instead of bind2nd(mem_fun(), *foo)
g++-4.1 does not like parts of 12e1ef78265a621dc51f7b9af245d81431835dcc,
calling std::bind2nd(std::mem_fun(func), ref_arg) lead to a bunch of
error: forming reference to reference type 'XYZ'
in order to avoid switching either back to the old for-loops or boost::bind
or to enforce a newer compiler (eg, g++-4.4) to the users a new helper
functor was created: 'CallMemFunWithRefArg'
this commit also fixes a little copy and paste error introduced in
12e1ef782, 'AtomHandler::updateClientClose' was called instead of
'AtomHandler::updateWorkspace'.
Diffstat (limited to 'src/FbTk/CachedPixmap.cc')
0 files changed, 0 insertions, 0 deletions