summaryrefslogtreecommitdiffstats
path: root/kig/modes/construct_mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/modes/construct_mode.cpp')
-rw-r--r--kig/modes/construct_mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/modes/construct_mode.cpp b/kig/modes/construct_mode.cpp
index cc07c78a..378fc999 100644
--- a/kig/modes/construct_mode.cpp
+++ b/kig/modes/construct_mode.cpp
@@ -423,7 +423,7 @@ void TestConstructMode::handlePrelim( const std::vector<ObjectCalcer*>& os, cons
{
Args args;
std::transform( os.begin(), os.end(), std::back_inserter( args ),
- std::mem_fun( &ObjectCalcer::imp ) );
+ std::mem_fn( &ObjectCalcer::imp ) );
// usetext
TQString usetext = i18n( mtype->argsParser().usetext( args.back(), args ).c_str() );
@@ -554,7 +554,7 @@ TQString TestConstructMode::selectStatement( const std::vector<ObjectCalcer*>& s
{
using namespace std;
Args args;
- transform( sel.begin(), sel.end(), back_inserter( args ), mem_fun( &ObjectCalcer::imp ) );
+ transform( sel.begin(), sel.end(), back_inserter( args ), mem_fn( &ObjectCalcer::imp ) );
std::string ret = mtype->argsParser().selectStatement( args );
if ( ret.empty() ) return TQString();