diff options
Diffstat (limited to 'cpp/include/Ice/ConnectionFactoryF.h')
-rw-r--r-- | cpp/include/Ice/ConnectionFactoryF.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/Ice/ConnectionFactoryF.h b/cpp/include/Ice/ConnectionFactoryF.h index 1c4a228538d..7e35fc37c31 100644 --- a/cpp/include/Ice/ConnectionFactoryF.h +++ b/cpp/include/Ice/ConnectionFactoryF.h @@ -22,8 +22,13 @@ ICE_API IceUtil::Shared* upCast(OutgoingConnectionFactory*); typedef IceInternal::Handle<OutgoingConnectionFactory> OutgoingConnectionFactoryPtr; class IncomingConnectionFactory; + +#ifdef ICE_CPP11_MAPPING +typedef ::std::shared_ptr<IncomingConnectionFactory> IncomingConnectionFactoryPtr; +#else ICE_API IceUtil::Shared* upCast(IncomingConnectionFactory*); typedef IceInternal::Handle<IncomingConnectionFactory> IncomingConnectionFactoryPtr; +#endif } |