diff options
author | Benety Goh <benety@mongodb.com> | 2016-04-12 14:21:59 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-04-18 15:46:12 -0400 |
commit | 6811d7c70d13559c3162e8f4333c3c061e5a5220 (patch) | |
tree | 70fba42605c3ced184f175adc45901d16e02c0e1 /src/mongo/db/namespace_string.cpp | |
parent | 3bead6a7dee0c224242463d75acda511e8e8bb09 (diff) | |
download | mongo-6811d7c70d13559c3162e8f4333c3c061e5a5220.tar.gz |
SERVER-18038 added minvalid and initial sync flag support to repl storage interface
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r-- | src/mongo/db/namespace_string.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp index a92c86de342..61297365246 100644 --- a/src/mongo/db/namespace_string.cpp +++ b/src/mongo/db/namespace_string.cpp @@ -30,6 +30,8 @@ #include "mongo/platform/basic.h" +#include <ostream> + #include "mongo/db/namespace_string.h" namespace mongo { @@ -122,4 +124,9 @@ string NamespaceString::escapeDbName(const StringData dbname) { return escapedDbName; } + +std::ostream& operator<<(std::ostream& stream, const NamespaceString& nss) { + return stream << nss.toString(); +} + } // namespace mongo |