summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-13 12:13:54 +0100
committerJose <jose@zeroc.com>2016-01-13 12:13:54 +0100
commit1f47716c671626cd18e53a7c839a26210ad6f40b (patch)
tree867c486bf10f27c4b966b6b7992d15afea46c628 /cpp
parentRemove Object::ice_clone from C++11 mapping (diff)
downloadice-1f47716c671626cd18e53a7c839a26210ad6f40b.tar.bz2
ice-1f47716c671626cd18e53a7c839a26210ad6f40b.tar.xz
ice-1f47716c671626cd18e53a7c839a26210ad6f40b.zip
Minor fix to ICE_VALUE_FACTORY macro
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/IceUtil/Config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/Config.h b/cpp/include/IceUtil/Config.h
index 8e75fc73f45..317ae0fca92 100644
--- a/cpp/include/IceUtil/Config.h
+++ b/cpp/include/IceUtil/Config.h
@@ -266,7 +266,7 @@ typedef long long Int64;
# define ICE_SHARED_FROM_THIS shared_from_this()
# define ICE_CHECKED_CAST(T,V) Ice::checkedCast<T>(V)
# define ICE_UNCHECKED_CAST(T,V) Ice::uncheckedCast<T>(V)
-# define ICE_VALUE_FACTORY ::std::function<::Ice::ValuePtr (const std::string& type)>
+# define ICE_VALUE_FACTORY ::std::function<::std::shared_ptr<::Ice::Value> (const std::string& type)>
# define ICE_CLOSE_CALLBACK ::std::function<void (::std::shared_ptr<::Ice::Connection>)>
# define ICE_HEARTBEAT_CALLBACK ::std::function<void (::std::shared_ptr<::Ice::Connection>)>
# define ICE_IN(T) T