modernize-pass-by-value

This commit is contained in:
Daniel Chabrowski
2018-02-25 01:58:09 +01:00
parent ad624432d8
commit 9ce66f2c9a
6 changed files with 37 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ public:
class pattern_formatter SPDLOG_FINAL : public formatter
{
public:
explicit pattern_formatter(const std::string& pattern, pattern_time_type pattern_time = pattern_time_type::local, const std::string& eol = spdlog::details::os::default_eol);
explicit pattern_formatter(const std::string& pattern, pattern_time_type pattern_time = pattern_time_type::local, std::string eol = spdlog::details::os::default_eol);
pattern_formatter(const pattern_formatter&) = delete;
pattern_formatter& operator=(const pattern_formatter&) = delete;
void format(details::log_msg& msg) override;