From af8effe4f0876d6fa934806745712f679bd36278 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 24 Jan 2023 23:41:50 +0000 Subject: Replace getInt/getUInt/getFloat with type safe templated functions. --- src/logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/logging.cpp') diff --git a/src/logging.cpp b/src/logging.cpp index 7251c515c..8dbc156be 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -131,7 +131,7 @@ Log::MethodPtr Log::FileEngine::Create(const std::shared_ptr& tag) tag->source.str(), strerror(errno))); } - const unsigned long flush = tag->getUInt("flush", 20, 1); + const unsigned long flush = tag->getNum("flush", 20, 1); return std::make_shared(fulltarget, fh, flush, true); } -- cgit v1.3.1-10-gc9f91