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:
authorGabi Melman <gmelman1@gmail.com>2022-05-19 23:35:52 +0300
committerGitHub <noreply@github.com>2022-05-19 23:35:52 +0300
commitfc93ddbefe0b39273928a6e70676087387f8de8f (patch)
treeb9af53aad32ffbf36d310e3d4e3534907049b5b6 /include
parentffd929c59058356838bb51d3f328b21419590261 (diff)
parent3d7ee646614c164115e737241a56d74de275c898 (diff)
Merge pull request #2384 from aengusjiang/v1.x
fix error: cannot bind lvalue to right reference
Diffstat (limited to 'include')
-rw-r--r--include/spdlog/pattern_formatter-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spdlog/pattern_formatter-inl.h b/include/spdlog/pattern_formatter-inl.h
index 2559454b..b9a57804 100644
--- a/include/spdlog/pattern_formatter-inl.h
+++ b/include/spdlog/pattern_formatter-inl.h
@@ -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 cloned;
+ return std::move(cloned);
}
SPDLOG_INLINE void pattern_formatter::format(const details::log_msg &msg, memory_buf_t &dest)