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.h | |
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.h')
-rw-r--r-- | src/mongo/db/namespace_string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h index 2f9ccc44490..3b21be69a90 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -31,6 +31,7 @@ #pragma once #include <algorithm> +#include <iosfwd> #include <string> #include "mongo/base/string_data.h" @@ -304,6 +305,8 @@ private: size_t _dotIndex; }; +std::ostream& operator<<(std::ostream& stream, const NamespaceString& nss); + // "database.a.b.c" -> "database" inline StringData nsToDatabaseSubstring(StringData ns) { size_t i = ns.find('.'); |