aboutsummaryrefslogtreecommitdiff
path: root/db/mongo_access.h
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-09 17:17:44 +0200
committerneodarz <neodarz@neodarz.net>2019-09-09 17:17:44 +0200
commitbc6aeaa834d666221171d302d4f101ce65608898 (patch)
tree9fecfeb46e4189fb4baebf7f1bd1fb1277b36631 /db/mongo_access.h
parent5b66830ca806e00f415d6ee83b15e410130de371 (diff)
downloadumosapicpp-bc6aeaa834d666221171d302d4f101ce65608898.tar.xz
umosapicpp-bc6aeaa834d666221171d302d4f101ce65608898.zip
Refactoring some code to be more readable
Diffstat (limited to 'db/mongo_access.h')
-rw-r--r--db/mongo_access.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/mongo_access.h b/db/mongo_access.h
index f03cece..a37bc1b 100644
--- a/db/mongo_access.h
+++ b/db/mongo_access.h
@@ -15,7 +15,7 @@
#include <iostream>
-
+namespace UmosapiService {
class mongo_access {
public:
@@ -39,5 +39,6 @@ class mongo_access {
std::unique_ptr<mongocxx::pool> _pool = nullptr;
};
+}
#endif