removed unnecessary move (this is done automatically in c++11)

This commit is contained in:
Ole Christian Eidheim 2014-07-07 21:01:11 +02:00
commit 1f4ed9d4a3

View file

@ -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;
}
}