aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 9cf4127..dd3b794 100644
--- a/main.cpp
+++ b/main.cpp
@@ -12,8 +12,6 @@
std::map<std::string, std::string> config;
-using namespace std;
-
int main(int argc, char *argv[]) {
string config_path = "";
@@ -73,7 +71,7 @@ int main(int argc, char *argv[]) {
umosapi.start(config["swaggerui"]);
*/
- UmosapiService umosapi;
+ UmosapiService::Api umosapi;
umosapi.init();
umosapi.start(std::stoi(config["port"]), thr);