From a4af97e198bda6e2a73976124b32d6fe2b812d3a Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Thu, 23 Jul 2015 14:04:01 +0200 Subject: Change constructors of tag_string --- src/tag_string.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tag_string.cpp b/src/tag_string.cpp index e4f714d0b3..58635d5e0a 100644 --- a/src/tag_string.cpp +++ b/src/tag_string.cpp @@ -26,12 +26,12 @@ tag_string::tag_string(const std::string& str): value(str) {} -tag_string::tag_string(std::string&& str): +tag_string::tag_string(std::string&& str) noexcept: value(std::move(str)) {} tag_string::tag_string(const char* str): - value(std::string(str)) + value(str) {} tag_string::operator std::string&() -- cgit 0.0.5-2-1-g0f52