summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/FactoryTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/FactoryTable.h')
-rw-r--r--cpp/include/Ice/FactoryTable.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/include/Ice/FactoryTable.h b/cpp/include/Ice/FactoryTable.h
index 03362685c43..24fb649d053 100644
--- a/cpp/include/Ice/FactoryTable.h
+++ b/cpp/include/Ice/FactoryTable.h
@@ -38,11 +38,7 @@ public:
Ice::UserExceptionFactoryPtr getExceptionFactory(const ::std::string&) const;
void removeExceptionFactory(const ::std::string&);
-#ifdef ICE_CPP11_MAPPING
- void addValueFactory(const ::std::string&, ::std::function<::Ice::ValuePtr (::std::string)>);
-#else
- void addValueFactory(const ::std::string&, const ::Ice::ValueFactoryPtr&);
-#endif
+ void addValueFactory(const ::std::string&, ICE_IN(ICE_VALUE_FACTORY));
ICE_VALUE_FACTORY getValueFactory(const ::std::string&) const;
void removeValueFactory(const ::std::string&);