From 32b92dcd912cb7330e91508bed3b7a71a67fd53b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 16 Jan 2017 14:04:15 +0200 Subject: [PATCH] Bin default values for parameters that were defaulted at just one call site Change-Id: I965b0be1ad4f706a06d06d5c6c3f940c1b3cc33c --- common/Log.hpp | 8 ++++---- test/test.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/Log.hpp b/common/Log.hpp index c068629987..b4d42c7eea 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 config = {}); + const std::string& logLevel, + const bool withColor, + const bool logToFile, + std::map config); Poco::Logger& logger(); std::string prefix(const char* level); diff --git a/test/test.cpp b/test/test.cpp index 0f8b359487..0d30f3a871 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;