Fixed clang warnings

This commit is contained in:
gabime
2018-08-13 09:21:47 +03:00
parent 8008d7fe53
commit 4456f96ae3
3 changed files with 4 additions and 5 deletions

View File

@@ -30,8 +30,8 @@ template<typename Mutex>
class android_sink SPDLOG_FINAL : public base_sink<Mutex>
{
public:
explicit android_sink(const std::string &tag = "spdlog", bool use_raw_msg = false)
: tag_(tag)
explicit android_sink(std::string tag = "spdlog", bool use_raw_msg = false)
: tag_(std::move(tag))
, use_raw_msg_(use_raw_msg)
{
}