Fixd copy ellision warning in tests

This commit is contained in:
gabime 2019-01-08 17:33:31 +02:00
parent 452ba76507
commit 112a7ada74
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ TEST_CASE("drop non existing", "[registry]")
TEST_CASE("default logger", "[registry]")
{
spdlog::drop_all();
spdlog::set_default_logger(std::move(spdlog::null_logger_st(tested_logger_name)));
spdlog::set_default_logger(spdlog::null_logger_st(tested_logger_name));
REQUIRE(spdlog::get(tested_logger_name) == spdlog::default_logger());
spdlog::drop_all();
}