summaryrefslogtreecommitdiff
path: root/test/buildtool/logging/logger.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/logging/logger.test.cpp')
-rw-r--r--test/buildtool/logging/logger.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/logging/logger.test.cpp b/test/buildtool/logging/logger.test.cpp
index e0abd13a..deee7477 100644
--- a/test/buildtool/logging/logger.test.cpp
+++ b/test/buildtool/logging/logger.test.cpp
@@ -61,7 +61,7 @@ class LogSinkTest : public ILogSink {
return [] { return std::make_shared<LogSinkTest>(); };
}
- LogSinkTest() noexcept { id_ = TestPrints::GetId(); }
+ LogSinkTest() noexcept : id_{TestPrints::GetId()} {}
void Emit(Logger const* logger,
LogLevel level,