summaryrefslogtreecommitdiff
path: root/src/mongo/bson/oid.cpp
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-12-27 23:12:26 -0500
committerdwight <dwight@10gen.com>2011-12-27 23:12:26 -0500
commit88b45199cae474ac2af76bb438971229523e9bf0 (patch)
treef9093a7f44324d6b8ef44f6469bbd07ab5ebe1da /src/mongo/bson/oid.cpp
parent853a89a5fcd96f9d6c129fa99e3af97cf5af3c99 (diff)
downloadmongo-88b45199cae474ac2af76bb438971229523e9bf0.tar.gz
more include friendly
Diffstat (limited to 'src/mongo/bson/oid.cpp')
-rw-r--r--src/mongo/bson/oid.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/bson/oid.cpp b/src/mongo/bson/oid.cpp
index 3aee14a3585..abead7a584d 100644
--- a/src/mongo/bson/oid.cpp
+++ b/src/mongo/bson/oid.cpp
@@ -27,6 +27,11 @@ namespace mongo {
// machine # before folding in the process id
OID::MachineAndPid OID::ourMachine;
+
+ ostream& operator<<( ostream &s, const OID &o ) {
+ s << o.str();
+ return s;
+ }
unsigned OID::ourPid() {
unsigned pid;