Mercurial > irccd
diff tests/logger/main.cpp @ 256:f04acabfbbe5
CMake: switch to NSIS with various fixes, closes #533
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 12 Sep 2016 17:54:27 +0200 |
parents | 6635b9187d71 |
children | c6fbb6e0e06d |
line wrap: on
line diff
--- a/tests/logger/main.cpp Thu Sep 08 13:11:10 2016 +0200 +++ b/tests/logger/main.cpp Mon Sep 12 17:54:27 2016 +0200 @@ -32,7 +32,7 @@ } // !namespace -class MyInterface : public log::Interface { +class MyInterface : public log::Logger { public: void debug(const std::string &line) override { @@ -96,7 +96,7 @@ int main(int argc, char **argv) { log::setVerbose(true); - log::setInterface(std::make_unique<MyInterface>()); + log::setLogger(std::make_unique<MyInterface>()); log::setFilter(std::make_unique<MyFilter>()); testing::InitGoogleTest(&argc, argv);