summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/rs.cpp')
-rw-r--r--src/mongo/db/repl/rs.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/repl/rs.cpp b/src/mongo/db/repl/rs.cpp
index c58c8d6a661..f2cba63d3df 100644
--- a/src/mongo/db/repl/rs.cpp
+++ b/src/mongo/db/repl/rs.cpp
@@ -42,6 +42,7 @@
using namespace std;
namespace mongo {
+namespace replset {
using namespace bson;
@@ -56,7 +57,7 @@ namespace mongo {
return theReplSet && theReplSet->isPrimary();
}
- void replset::sethbmsg(const string& s, const int level) {
+ void sethbmsg(const string& s, const int level) {
if (theReplSet) {
theReplSet->sethbmsg(s, level);
}
@@ -204,5 +205,5 @@ namespace mongo {
}
} replIndexPrefetch;
-}
-
+} // namespace replset
+} // namespace mongo