diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-04-18 14:33:16 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-04-18 14:33:16 +0200 |
commit | 2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc (patch) | |
tree | 0a381f9b284eb7ca5acc9bca5a97659d19874f9d /cpp/src/Freeze/MapDb.h | |
parent | ICE-4828 - Buffer.h undeclared ptrdiff_t issue on OpenSUSE (diff) | |
download | ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.tar.bz2 ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.tar.xz ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.zip |
Added support for encoding versioning
Diffstat (limited to 'cpp/src/Freeze/MapDb.h')
-rw-r--r-- | cpp/src/Freeze/MapDb.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/Freeze/MapDb.h b/cpp/src/Freeze/MapDb.h index 8b15ce4b79c..85a7dfaa8e8 100644 --- a/cpp/src/Freeze/MapDb.h +++ b/cpp/src/Freeze/MapDb.h @@ -26,8 +26,7 @@ class MapIndexI { public: - MapIndexI(const ConnectionIPtr&, MapDb&, - DbTxn*, bool, const MapIndexBasePtr&); + MapIndexI(const ConnectionIPtr&, MapDb&, DbTxn*, bool, const MapIndexBasePtr&); ~MapIndexI(); @@ -72,15 +71,15 @@ class MapDb : public ::Db { public: - MapDb(const ConnectionIPtr&, const std::string&, - const std::string&, const std::string&, + MapDb(const ConnectionIPtr&, const std::string&, const std::string&, const std::string&, const KeyCompareBasePtr&, const std::vector<MapIndexBasePtr>&, bool); // // The constructor for catalogs // - MapDb(const Ice::CommunicatorPtr&, const std::string&, const std::string&, const std::string&, DbEnv*); + MapDb(const Ice::CommunicatorPtr&, const Ice::EncodingVersion&, const std::string&, const std::string&, + const std::string&, DbEnv*); ~MapDb(); @@ -98,6 +97,7 @@ public: private: const Ice::CommunicatorPtr _communicator; + const Ice::EncodingVersion _encoding; const std::string _dbName; std::string _key; std::string _value; |