diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2013-06-29 17:24:39 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2013-07-03 12:29:39 (GMT) |
commit | 0084149c3d39d8b9562106d9bc46864e499d866a (patch) | |
tree | 73f899d3a26b354b88790d78aa8046af20ebbc58 /src/FbTk/MenuItem.hh | |
parent | f464f24eb3a5872404f60356009f466d5f79f2b1 (diff) | |
download | fluxbox-0084149c3d39d8b9562106d9bc46864e499d866a.zip fluxbox-0084149c3d39d8b9562106d9bc46864e499d866a.tar.bz2 |
Constify the type passed to std::equal_to.
std::bind2nd() has problems with the existing call because it uses the
argument type passed to std::equal_to() in std::binder2nd()'s constructor,
but WinClient* does not have the const specifier that `client' does.
The call works fine with libstdc++ because of the way it implements
std::bind2nd(), but fails with libc++ and possibly with other STL
implementations as well.
Diffstat (limited to 'src/FbTk/MenuItem.hh')
0 files changed, 0 insertions, 0 deletions