Added songcontroller, work on uploading a song

This commit is contained in:
kdeng00
2019-08-18 16:44:59 -04:00
parent e9aa5f799c
commit bbd8186114
3 changed files with 42 additions and 1 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
#include <iostream>
#include <filesystem>
#include <string>
#include <memory>
#include "oatpp/core/macro/codegen.hpp"
#include "oatpp/core/macro/component.hpp"
@@ -18,7 +19,7 @@ class loginController : public oatpp::web::server::api::ApiController
{
public:
loginController(std::string p, OATPP_COMPONENT(std::shared_ptr<ObjectMapper>, objectMapper))
: oatpp::web::server::api::ApiController(objectMapper), exe_path(std::move(p))
: oatpp::web::server::api::ApiController(objectMapper), exe_path(p)
{ }