Skip to content

Commit

Permalink
clang-cl -Wreturn-std-move fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskosunen committed Oct 23, 2023
1 parent a82baf3 commit cb1d19a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scn/impl/reader/string_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ namespace scn {
return unexpected(e);
}

return result;
return SCN_MOVE(result);
}

template <typename Range, typename Iterator, typename ValueCharT>
Expand Down Expand Up @@ -148,7 +148,7 @@ namespace scn {
value = std::basic_string_view<ValueCharT>(
ranges::data(view), ranges_polyfill::usize(view));

return result;
return SCN_MOVE(result);
}
}

Expand Down

0 comments on commit cb1d19a

Please sign in to comment.