diff --git a/parse/value.hpp b/parse/value.hpp index 9a8be6fe..4fbc7edb 100644 --- a/parse/value.hpp +++ b/parse/value.hpp @@ -33,7 +33,7 @@ namespace cruft::parse { T res = value (data); if (!data.empty ()) throw std::invalid_argument ("unable to parse"); - return std::move (res); + return res; } template T from_string (const char *data) { return from_string (cruft::view (data)); }