Skip to content

Commit

Permalink
Removed unnecessary std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander U.Jurankov committed Oct 23, 2020
1 parent c5e0ee7 commit eb2dae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class logger {
template <typename T, enable_is_string<T> = true>
static string convert(string const&, T&& arg)
{
return std::move(arg);
return arg;
}

template <typename T, enable_is_char_string<T> = true>
Expand Down

0 comments on commit eb2dae9

Please sign in to comment.