summaryrefslogtreecommitdiff
path: root/db/lasterror.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-01-14 17:09:51 -0500
committerAaron <aaron@10gen.com>2009-01-14 17:09:51 -0500
commitad1f6b3cbdd1183eedc04f98fa813e63ce68a408 (patch)
treecc0498e49d55eae8e8e1cbb7f494b085a732a45d /db/lasterror.h
parent023535d844a43627d1f2c934ffd349f4355ed4c2 (diff)
downloadmongo-ad1f6b3cbdd1183eedc04f98fa813e63ce68a408.tar.gz
Put our code in 'mongo' namespace
Diffstat (limited to 'db/lasterror.h')
-rw-r--r--db/lasterror.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/lasterror.h b/db/lasterror.h
index 6030cb9e19b..8f5b59c55b0 100644
--- a/db/lasterror.h
+++ b/db/lasterror.h
@@ -19,6 +19,8 @@
#pragma once
#include <boost/thread/tss.hpp>
+
+namespace mongo {
struct LastError {
string msg;
@@ -42,3 +44,5 @@ inline void raiseError(const char *msg) {
}
le->raiseError(msg);
}
+
+} // namespace mongo