diff --git a/core/vm.cpp b/core/vm.cpp index 18788a05..0f4ec2a3 100644 --- a/core/vm.cpp +++ b/core/vm.cpp @@ -3484,7 +3484,7 @@ class Interpreter { msg << loc.offset << ":"; } msg << " " << std::string_view(inner_msg, length); - throw RapidYamlError(std::move(msg.str())); + throw RapidYamlError(msg.str()); } };