diff options
author | neodarz <neodarz@neodarz.net> | 2019-09-09 17:17:44 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-09-09 17:17:44 +0200 |
commit | bc6aeaa834d666221171d302d4f101ce65608898 (patch) | |
tree | 9fecfeb46e4189fb4baebf7f1bd1fb1277b36631 /main.cpp | |
parent | 5b66830ca806e00f415d6ee83b15e410130de371 (diff) | |
download | umosapicpp-bc6aeaa834d666221171d302d4f101ce65608898.tar.xz umosapicpp-bc6aeaa834d666221171d302d4f101ce65608898.zip |
Refactoring some code to be more readable
Diffstat (limited to '')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |