diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-10-24 10:12:20 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-10-24 10:13:03 -0400 |
commit | c0fe7490ed8482c5244a36196253883d3c50e7c7 (patch) | |
tree | 90b050a39ccbb5b9796a03b119b71c413c86c098 /src/mongo/util/net/hostandport.h | |
parent | 406e1f9e715617956283d32a021fbac7ac46a4cc (diff) | |
download | mongo-c0fe7490ed8482c5244a36196253883d3c50e7c7.tar.gz |
SERVER-26683 Log reason for marking repl hosts as failed in the RSM
Diffstat (limited to 'src/mongo/util/net/hostandport.h')
-rw-r--r-- | src/mongo/util/net/hostandport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/util/net/hostandport.h b/src/mongo/util/net/hostandport.h index 6f7bd46b43c..53209bbaa04 100644 --- a/src/mongo/util/net/hostandport.h +++ b/src/mongo/util/net/hostandport.h @@ -34,7 +34,10 @@ #include "mongo/platform/hash_namespace.h" namespace mongo { + class Status; +template <typename Allocator> +class StringBuilderImpl; class StringData; template <typename T> class StatusWith; @@ -124,6 +127,9 @@ private: std::ostream& operator<<(std::ostream& os, const HostAndPort& hp); +template <typename Allocator> +StringBuilderImpl<Allocator>& operator<<(StringBuilderImpl<Allocator>& os, const HostAndPort& hp); + } // namespace mongo MONGO_HASH_NAMESPACE_START |