summaryrefslogtreecommitdiff
path: root/cpp/src/IceDB
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-09-03 15:42:19 +0200
committerBenoit Foucher <benoit@zeroc.com>2013-09-03 15:42:19 +0200
commit91f6ebb998532b36fc70187b641a5b7404060422 (patch)
treeac88e961c68e4b09eb819f4b57b9ecac56854567 /cpp/src/IceDB
parentICE-5378 - Remove slice35d.dll from Windows installer (diff)
downloadice-91f6ebb998532b36fc70187b641a5b7404060422.tar.bz2
ice-91f6ebb998532b36fc70187b641a5b7404060422.tar.xz
ice-91f6ebb998532b36fc70187b641a5b7404060422.zip
Fixed ICE-5358 - allow IceGrid replica to initialize its database from another replica
Diffstat (limited to 'cpp/src/IceDB')
-rw-r--r--cpp/src/IceDB/FreezeTypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceDB/FreezeTypes.h b/cpp/src/IceDB/FreezeTypes.h
index 2d0a393bca8..f7c28b6f544 100644
--- a/cpp/src/IceDB/FreezeTypes.h
+++ b/cpp/src/IceDB/FreezeTypes.h
@@ -102,7 +102,7 @@ template<class Dict, class Key, class Value> class Wrapper : public virtual IceD
public:
Wrapper(const Freeze::ConnectionPtr& connection, const std::string& dbName) :
- _dict(connection, dbName)
+ _dict(connection, dbName), _dbName(dbName)
{
}
@@ -191,6 +191,7 @@ public:
protected:
Dict _dict;
+ std::string _dbName;
};
}