Remove redundant std::move at return (triggers -Wredundant-move in Gcc, at least)

This commit is contained in:
Alexandre Pereira Nunes 2022-06-02 13:18:00 -03:00
parent 9e8e52c048
commit beefee7929
No known key found for this signature in database
GPG Key ID: E35DE43E6B642505
1 changed files with 1 additions and 1 deletions

View File

@ -1053,7 +1053,7 @@ SPDLOG_INLINE std::unique_ptr<formatter> pattern_formatter::clone() const
}
auto cloned = details::make_unique<pattern_formatter>(pattern_, pattern_time_type_, eol_, std::move(cloned_custom_formatters));
cloned->need_localtime(need_localtime_);
return std::move(cloned);
return cloned;
}
SPDLOG_INLINE void pattern_formatter::format(const details::log_msg &msg, memory_buf_t &dest)