clang-tidy: remove pointless std::move

Found with performance-move-const-arg Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent 65d25767
......@@ -120,8 +120,7 @@ CompositeStorage::Directory::Make(std::string_view uri)
if (name.empty())
continue;
auto i = directory->children.emplace(std::move(name),
Directory());
auto i = directory->children.emplace(name, Directory());
directory = &i.first->second;
}
......
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