summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/FactoryTableDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/FactoryTableDef.cpp')
-rw-r--r--cpp/src/Ice/FactoryTableDef.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/Ice/FactoryTableDef.cpp b/cpp/src/Ice/FactoryTableDef.cpp
index c75f52a14a1..c225ffc57c5 100644
--- a/cpp/src/Ice/FactoryTableDef.cpp
+++ b/cpp/src/Ice/FactoryTableDef.cpp
@@ -13,6 +13,7 @@
// **********************************************************************
#include <Ice/FactoryTableDef.h>
+#include <Ice/UserExceptionFactory.h>
namespace Ice
{
@@ -29,7 +30,7 @@ ICE_API FactoryTableDef* factoryTable; // Single global instance of the factory
// If the factory is present already, increment its reference count.
//
void
-Ice::FactoryTableDef::addExceptionFactory(const std::string& t, const UserExceptionFactoryPtr& f)
+Ice::FactoryTableDef::addExceptionFactory(const std::string& t, const IceInternal::UserExceptionFactoryPtr& f)
{
IceUtil::Mutex::Lock lock(_m);
EFTable::iterator i = _eft.find(t);
@@ -46,12 +47,12 @@ Ice::FactoryTableDef::addExceptionFactory(const std::string& t, const UserExcept
//
// Return the exception factory for a given type ID
//
-Ice::UserExceptionFactoryPtr
+IceInternal::UserExceptionFactoryPtr
Ice::FactoryTableDef::getExceptionFactory(const std::string& t) const
{
IceUtil::Mutex::Lock lock(_m);
EFTable::const_iterator i = _eft.find(t);
- return i != _eft.end() ? i->second.first : UserExceptionFactoryPtr();
+ return i != _eft.end() ? i->second.first : IceInternal::UserExceptionFactoryPtr();
}
//