From 6d484db9b293aac4b8bd790eb7aead3a806f8c7b Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 4 Oct 2024 13:52:55 +0200 Subject: Enable cppcoreguidelines-* checks. --- test/buildtool/logging/logger.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/buildtool/logging/logger.test.cpp') 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() noexcept { id_ = TestPrints::GetId(); } + LogSinkTest() noexcept : id_{TestPrints::GetId()} {} void Emit(Logger const* logger, LogLevel level, -- cgit v1.2.3