aboutsummaryrefslogtreecommitdiff
path: root/shared.h
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-08 13:48:39 +0200
committerneodarz <neodarz@neodarz.net>2019-08-08 13:48:39 +0200
commit4671f4a46bf9aca39f0a09d0bec115a7f8913614 (patch)
tree8ed81cc3fcd0a656340fdfe4ae422ce22c5738d2 /shared.h
parent889093b2ea55969e8c2920652bdf36bfa3a04cc2 (diff)
downloadumosapicpp-4671f4a46bf9aca39f0a09d0bec115a7f8913614.tar.xz
umosapicpp-4671f4a46bf9aca39f0a09d0bec115a7f8913614.zip
Implement mongocxx pool connection
Diffstat (limited to '')
-rw-r--r--shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared.h b/shared.h
index 0814b6c..7ba7006 100644
--- a/shared.h
+++ b/shared.h
@@ -2,7 +2,9 @@
#define SHARED_H_
#include <map>
+#include "db/mongo_access.h"
extern std::map<std::string, std::string> config;
+extern mongo_access mongo;
#endif