mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
Fixd copy ellision warning in tests
This commit is contained in:
parent
452ba76507
commit
112a7ada74
@ -83,7 +83,7 @@ TEST_CASE("drop non existing", "[registry]")
|
|||||||
TEST_CASE("default logger", "[registry]")
|
TEST_CASE("default logger", "[registry]")
|
||||||
{
|
{
|
||||||
spdlog::drop_all();
|
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());
|
REQUIRE(spdlog::get(tested_logger_name) == spdlog::default_logger());
|
||||||
spdlog::drop_all();
|
spdlog::drop_all();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user