diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-04-14 20:58:48 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-15 02:59:14 +0200 |
commit | 0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124 (patch) | |
tree | b9e9a52e0d1b2476eea815b83af0f121b604f27f /kig/modes/normal.cpp | |
parent | 7720a8f7b3eba8cd055a0b66f43a92d30a3d586a (diff) | |
download | tdeedu-0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124.tar.gz tdeedu-0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124.zip |
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kig/modes/normal.cpp')
-rw-r--r-- | kig/modes/normal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/modes/normal.cpp b/kig/modes/normal.cpp index 2ca6f8b0..b91db417 100644 --- a/kig/modes/normal.cpp +++ b/kig/modes/normal.cpp @@ -71,8 +71,8 @@ void NormalMode::selectObjects( const std::vector<ObjectHolder*>& os ) { // hehe, don't you love this c++ stuff ;) std::for_each( os.begin(), os.end(), - std::bind1st( - std::mem_fun( &NormalMode::selectObject ), this ) ); + std::bind( + std::mem_fn( &NormalMode::selectObject ), this, std::placeholders::_1 ) ); } void NormalMode::unselectObject( ObjectHolder* o ) |