summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tag_compound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag_compound.cpp b/src/tag_compound.cpp
index f6aeea5e79..3821ba8f98 100644
--- a/src/tag_compound.cpp
+++ b/src/tag_compound.cpp
@@ -105,7 +105,7 @@ void tag_compound::read_payload(io::stream_reader& reader)
{
std::string key = reader.read_string();
auto tptr = reader.read_payload(tt);
- tags.emplace(key, value(std::move(tptr)));
+ tags.emplace(std::move(key), value(std::move(tptr)));
}
}