Commit 4484a5f8 authored by louiz’'s avatar louiz’

Remove a useless std::move() and copy

parent e4a4adda
......@@ -8,10 +8,10 @@
struct CountQuery: public Query
{
CountQuery(std::string name):
CountQuery(const std::string& name):
Query("SELECT count(*) FROM ")
{
this->body += std::move(name);
this->body += name;
}
int64_t execute(DatabaseEngine& db)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment