summaryrefslogtreecommitdiffstats
path: root/kig/modes/normal.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-14 20:58:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-15 02:59:14 +0200
commit0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124 (patch)
treeb9e9a52e0d1b2476eea815b83af0f121b604f27f /kig/modes/normal.cpp
parent7720a8f7b3eba8cd055a0b66f43a92d30a3d586a (diff)
downloadtdeedu-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.cpp4
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 )