0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 10:08:56 +02:00

ircd: No need to move x-values.

This commit is contained in:
Jason Volk 2019-06-22 17:04:36 -06:00
parent 3ccb7c1faa
commit 534afe8859
5 changed files with 6 additions and 6 deletions

View file

@ -2072,7 +2072,7 @@ ircd::ctx::ole::pop()
auto c(std::move(queue.front()));
queue.pop_front();
return std::move(c);
return c;
}
///////////////////////////////////////////////////////////////////////////////

View file

@ -7141,7 +7141,7 @@ ircd::db::seek(column &column,
std::unique_ptr<rocksdb::Iterator> ret;
seek(c, key, opts, ret);
return std::move(ret);
return ret;
}
template<class pos>

View file

@ -1118,7 +1118,7 @@ ircd::mods::unpostfixed(std::string path)
if(fs::extension(fs::path_scratch, path) == suffix)
return fs::extension(fs::path_scratch, path, string_view{});
return std::move(path);
return path;
}
std::string
@ -1133,7 +1133,7 @@ std::string
ircd::mods::prefix_if_relative(std::string path)
{
if(!fs::is_relative(path))
return std::move(path);
return path;
const string_view parts[2]
{

View file

@ -319,5 +319,5 @@ parse_user_request(const json::object &one_time_keys)
}
}
return std::move(ret);
return ret;
}

View file

@ -360,5 +360,5 @@ parse_user_request(const json::object &device_keys)
}
}
return std::move(ret);
return ret;
}