diff --git a/objectstore/RootEntry.cpp b/objectstore/RootEntry.cpp index eada97c40ff26ed51373c0d1ed591d461726c2a5..9524e517ce255a2ef5d6be508eb6b1d6f5d78fbd 100644 --- a/objectstore/RootEntry.cpp +++ b/objectstore/RootEntry.cpp @@ -26,7 +26,7 @@ // construtor, when the backend store exists. // Checks the existence and correctness of the root entry cta::objectstore::RootEntry::RootEntry(Backend & os): - ObjectOps<serializers::RootEntry>(os, s_rootEntryName) {} + ObjectOps<serializers::RootEntry>(os, "root") {} // Initialiser. This uses the base object's initialiser and sets the defaults // of payload. @@ -221,5 +221,3 @@ std::string cta::objectstore::RootEntry::dump () { ret << ">>>> Root entry dump start" << std::endl; return ret.str(); } - -const std::string cta::objectstore::RootEntry::s_rootEntryName("root"); \ No newline at end of file diff --git a/objectstore/RootEntry.hpp b/objectstore/RootEntry.hpp index b84b9a1fac574100118e74ca68bae1dc5b8b0bb4..065b9a1e733cd746b2dbde2e2a29b7b5ac3ff1df 100644 --- a/objectstore/RootEntry.hpp +++ b/objectstore/RootEntry.hpp @@ -84,9 +84,6 @@ private: public: // Dump the root entry std::string dump (); - - private: - static const std::string s_rootEntryName; }; }}