We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 920caef commit fa238afCopy full SHA for fa238af
1 file changed
include/rfl/parsing/to_single_error_message.hpp
@@ -17,7 +17,7 @@ inline std::string to_single_error_message(
17
std::optional<std::string> _msg_prefix = std::nullopt,
18
size_t _err_limit = 10) {
19
if (_errors.size() == 1) {
20
- return std::move(_errors[0].what());
+ return _errors[0].what();
21
} else {
22
std::stringstream stream;
23
stream << (_msg_prefix
0 commit comments