summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ObjectRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/ObjectRegistryI.cpp')
-rw-r--r--cpp/src/IcePack/ObjectRegistryI.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/IcePack/ObjectRegistryI.cpp b/cpp/src/IcePack/ObjectRegistryI.cpp
index 897484c2d42..6f636313d3a 100644
--- a/cpp/src/IcePack/ObjectRegistryI.cpp
+++ b/cpp/src/IcePack/ObjectRegistryI.cpp
@@ -18,10 +18,13 @@
using namespace std;
using namespace IcePack;
-IcePack::ObjectRegistryI::ObjectRegistryI(const Freeze::DBPtr& objDb, const Freeze::DBPtr& typeDb,
+IcePack::ObjectRegistryI::ObjectRegistryI(const Ice::CommunicatorPtr& communicator,
+ const string& envName,
+ const string& objectsDbName,
+ const string& typesDbName,
const TraceLevelsPtr& traceLevels) :
- _objects(objDb),
- _types(typeDb),
+ _objects(communicator, envName, objectsDbName, true),
+ _types(communicator, envName, typesDbName, true),
_traceLevels(traceLevels)
{
}