aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-06 13:48:26 +0200
committerneodarz <neodarz@neodarz.net>2019-08-06 13:48:26 +0200
commit2cb04d30c6552ac394278ca3dda5b7246d0f16b8 (patch)
tree1159725e1170f5ba2d759e93299c166e3553d2f8
parentf2ba3ddf4321b9dd97492b0d87846a291d4d6be3 (diff)
downloadumosapicpp-2cb04d30c6552ac394278ca3dda5b7246d0f16b8.tar.xz
umosapicpp-2cb04d30c6552ac394278ca3dda5b7246d0f16b8.zip
Move header declaration to the interface file
-rw-r--r--umosapi.cpp2
-rw-r--r--umosapi.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/umosapi.cpp b/umosapi.cpp
index e3052a6..e71a688 100644
--- a/umosapi.cpp
+++ b/umosapi.cpp
@@ -6,8 +6,6 @@
#include <sys/types.h>
#include <pwd.h>
-#include <pistache/serializer/rapidjson.h>
-
#include <bsoncxx/builder/stream/document.hpp>
#include <bsoncxx/json.hpp>
diff --git a/umosapi.h b/umosapi.h
index 2e8b33b..684f9d5 100644
--- a/umosapi.h
+++ b/umosapi.h
@@ -5,6 +5,8 @@
#include <pistache/description.h>
#include <pistache/endpoint.h>
+#include <pistache/serializer/rapidjson.h>
+
using namespace Pistache;
class UmosapiService {