summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 734823cdc06..45dad54ca6e 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -1845,9 +1845,9 @@ IceInternal::Instance::addObjectFactory(const Ice::ObjectFactoryPtr& factory, co
// with the value factory manager. This may raise AlreadyRegisteredException.
//
#ifdef ICE_CPP11_MAPPING
- _initData.valueFactoryManager->add([factory](const string& id)
+ _initData.valueFactoryManager->add([factory](const string& ident)
{
- return factory->create(id);
+ return factory->create(ident);
},
id);
#else