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:
parent
3ccb7c1faa
commit
534afe8859
|
@ -2072,7 +2072,7 @@ ircd::ctx::ole::pop()
|
|||
|
||||
auto c(std::move(queue.front()));
|
||||
queue.pop_front();
|
||||
return std::move(c);
|
||||
return c;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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]
|
||||
{
|
||||
|
|
|
@ -319,5 +319,5 @@ parse_user_request(const json::object &one_time_keys)
|
|||
}
|
||||
}
|
||||
|
||||
return std::move(ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -360,5 +360,5 @@ parse_user_request(const json::object &device_keys)
|
|||
}
|
||||
}
|
||||
|
||||
return std::move(ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue