Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Chabrowski <dantezstudio@gmail.com>2018-02-25 03:58:09 +0300
committerDaniel Chabrowski <dantezstudio@gmail.com>2018-02-25 03:58:09 +0300
commit9ce66f2c9aaec41025798683b61a308185f4b101 (patch)
tree79a06769992e6478afe828de2b0bd848b84ed6d0 /include/spdlog/formatter.h
parentad624432d85936facc410eed108e4106a3174d6a (diff)
modernize-pass-by-value
Diffstat (limited to 'include/spdlog/formatter.h')
-rw-r--r--include/spdlog/formatter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spdlog/formatter.h b/include/spdlog/formatter.h
index 580deac2..203dc31a 100644
--- a/include/spdlog/formatter.h
+++ b/include/spdlog/formatter.h
@@ -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;