summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2020-02-19 18:03:10 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-20 23:25:45 +0000
commite4571070e9659a1ff9335eb0382a6fa0d611bfcf (patch)
treea6465b982e5994edbe7f9cba6748523fc4cd057c /src
parent1359fb63c4855d428551802f0664e2562e993abb (diff)
downloadmongo-e4571070e9659a1ff9335eb0382a6fa0d611bfcf.tar.gz
SERVER-46248 mongoc_embedded_test.cpp should use mongo namespace
Diffstat (limited to 'src')
-rw-r--r--src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp b/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp
index 21679980bca..2d3e87fae02 100644
--- a/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp
+++ b/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp
@@ -57,6 +57,7 @@ namespace moe = mongo::optionenvironment;
mongo_embedded_v1_lib* global_lib_handle;
+namespace mongo {
namespace {
std::unique_ptr<mongo::unittest::TempDir> globalTempDir;
@@ -253,6 +254,7 @@ struct StatusDestroy {
};
using StatusPtr = std::unique_ptr<mongo_embedded_v1_status, StatusDestroy>;
} // namespace
+} // namespace mongo
// Define main function as an entry to these tests.
// These test functions cannot use the main() defined for unittests because they
@@ -299,7 +301,7 @@ int main(int argc, char** argv, char** envp) {
return EXIT_FAILURE;
}
- StatusPtr status(mongo_embedded_v1_status_create());
+ mongo::StatusPtr status(mongo_embedded_v1_status_create());
mongoc_init();
mongo_embedded_v1_init_params params;
@@ -321,6 +323,6 @@ int main(int argc, char** argv, char** envp) {
}
mongoc_cleanup();
- globalTempDir.reset();
+ mongo::globalTempDir.reset();
mongo::quickExit(result);
}