diff options
author | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-19 18:39:01 +0100 |
---|---|---|
committer | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-19 18:39:01 +0100 |
commit | 7c4fbad2ba7d79580a9ebbf9fde1de117be4d08e (patch) | |
tree | f7c8e96e744222857c613e5fd14720d2695613c3 /source/core/StarLexicalCast.hpp | |
parent | 431a9c00a56cf4c603be1cf5f773b193621d8150 (diff) |
Removed some redundant std::move usages in return statements.
Diffstat (limited to 'source/core/StarLexicalCast.hpp')
-rw-r--r-- | source/core/StarLexicalCast.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarLexicalCast.hpp b/source/core/StarLexicalCast.hpp index 9e5a4a2..7c43137 100644 --- a/source/core/StarLexicalCast.hpp +++ b/source/core/StarLexicalCast.hpp @@ -30,7 +30,7 @@ Maybe<Type> maybeLexicalCast(StringView s, std::ios_base::fmtflags flags = std:: if (stream >> ch) return {}; - return std::move(result); + return result; } template <typename Type> |