summaryrefslogtreecommitdiff
path: root/test/buildtool/logging
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-04 13:52:55 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 17:51:22 +0200
commit6d484db9b293aac4b8bd790eb7aead3a806f8c7b (patch)
treec7a93cef8a95006f217d557300151ce5e8735437 /test/buildtool/logging
parent0fc0d9118b5e525fa582de0286c8e83bb0da4e16 (diff)
downloadjustbuild-6d484db9b293aac4b8bd790eb7aead3a806f8c7b.tar.gz
Enable cppcoreguidelines-* checks.
Diffstat (limited to 'test/buildtool/logging')
-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,