summaryrefslogtreecommitdiffstats
path: root/kig/objects/object_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/objects/object_factory.cpp')
-rw-r--r--kig/objects/object_factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kig/objects/object_factory.cpp b/kig/objects/object_factory.cpp
index bf333094..7235e834 100644
--- a/kig/objects/object_factory.cpp
+++ b/kig/objects/object_factory.cpp
@@ -296,7 +296,7 @@ void ObjectFactory::redefinePoint(
std::vector<ObjectCalcer*> os;
ObjectCalcer* (ObjectHolder::*calcmeth)() = &ObjectHolder::calcer;
std::transform( hos.begin(), hos.end(), std::back_inserter( os ),
- std::mem_fun( calcmeth ) );
+ std::mem_fn( calcmeth ) );
ObjectCalcer* v = 0;
// we don't want one of our children as a parent...