diff --git a/main.cpp b/main.cpp index 505e376..c9a82b4 100644 --- a/main.cpp +++ b/main.cpp @@ -18,7 +18,7 @@ int main() { //Retrieve string from istream (*request.content) stringstream ss; *request.content >> ss.rdbuf(); - string content=move(ss.str()); + string content=ss.str(); response << "HTTP/1.1 200 OK\r\nContent-Length: " << content.length() << "\r\n\r\n" << content; }; @@ -72,4 +72,4 @@ int main() { httpserver.start(); return 0; -} \ No newline at end of file +}