common/Log.hpp | 8 ++++---- test/test.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit 32b92dcd912cb7330e91508bed3b7a71a67fd53b Author: Tor Lillqvist <[email protected]> Date: Mon Jan 16 14:04:15 2017 +0200 Bin default values for parameters that were defaulted at just one call site Change-Id: I965b0be1ad4f706a06d06d5c6c3f940c1b3cc33c diff --git a/common/Log.hpp b/common/Log.hpp index c068629..b4d42c7 100644 --- a/common/Log.hpp +++ b/common/Log.hpp @@ -19,10 +19,10 @@ namespace Log { void initialize(const std::string& name, - const std::string& logLevel = "trace", - const bool withColor = true, - const bool logToFile = false, - std::map<std::string, std::string> config = {}); + const std::string& logLevel, + const bool withColor, + const bool logToFile, + std::map<std::string, std::string> config); Poco::Logger& logger(); std::string prefix(const char* level); diff --git a/test/test.cpp b/test/test.cpp index 0f8b359..0d30f3a 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -56,7 +56,7 @@ bool filterTests(CPPUNIT_NS::TestRunner& runner, CPPUNIT_NS::Test* testRegistry, int main(int /*argc*/, char** /*argv*/) { - Log::initialize("tst"); + Log::initialize("tst", "trace", true, false, {}); CPPUNIT_NS::TestResult controller; CPPUNIT_NS::TestResultCollector result; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
