summaryrefslogtreecommitdiffstats
path: root/kig/modes/macro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/modes/macro.cpp')
-rw-r--r--kig/modes/macro.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/modes/macro.cpp b/kig/modes/macro.cpp
index 35315b26..be69d80b 100644
--- a/kig/modes/macro.cpp
+++ b/kig/modes/macro.cpp
@@ -94,11 +94,11 @@ void DefineMacroMode::namePageEntered()
std::vector<ObjectCalcer*> given;
std::transform( mgiven.begin(), mgiven.end(),
std::back_inserter( given ),
- std::mem_fun( memfun ) );
+ std::mem_fn( memfun ) );
std::vector<ObjectCalcer*> final;
std::transform( mfinal.begin(), mfinal.end(),
std::back_inserter( final ),
- std::mem_fun( memfun ) );
+ std::mem_fn( memfun ) );
ObjectHierarchy hier( given, final );
if ( hier.resultDoesNotDependOnGiven() )
{
@@ -132,11 +132,11 @@ void DefineMacroMode::finishPressed()
std::vector<ObjectCalcer*> given;
std::transform( mgiven.begin(), mgiven.end(),
std::back_inserter( given ),
- std::mem_fun( memfun ) );
+ std::mem_fn( memfun ) );
std::vector<ObjectCalcer*> final;
std::transform( mfinal.begin(), mfinal.end(),
std::back_inserter( final ),
- std::mem_fun( memfun ) );
+ std::mem_fn( memfun ) );
ObjectHierarchy hier( given, final );
MacroConstructor* ctor =
new MacroConstructor( hier,