summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/user_name.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-08-26 20:02:22 -0400
committerSpencer T Brody <spencer@10gen.com>2013-09-06 11:29:57 -0400
commit25785ee485220aa468fbc3eedfec1f05b36d502a (patch)
tree65bc1cba1e163291b5596280ded1868dd08562fc /src/mongo/db/auth/user_name.h
parentb9a1874e3e839aa130fe73d112470debb33e59b8 (diff)
downloadmongo-25785ee485220aa468fbc3eedfec1f05b36d502a.tar.gz
SERVER-6246 Change user management commands to use the new v2 style user documents
Diffstat (limited to 'src/mongo/db/auth/user_name.h')
-rw-r--r--src/mongo/db/auth/user_name.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/auth/user_name.h b/src/mongo/db/auth/user_name.h
index 6efa7b695ed..acee87f8ada 100644
--- a/src/mongo/db/auth/user_name.h
+++ b/src/mongo/db/auth/user_name.h
@@ -15,6 +15,7 @@
#pragma once
+#include <iosfwd>
#include <string>
#include "mongo/base/string_data.h"
@@ -68,4 +69,6 @@ namespace mongo {
return lhs.getFullName() < rhs.getFullName();
}
+ std::ostream& operator<<(std::ostream& os, const UserName& name);
+
} // namespace mongo