From b69405a372dbcdf843b47c4901bca903f2ce2362 Mon Sep 17 00:00:00 2001 From: Eduardo Arias Date: Fri, 26 Apr 2024 10:35:01 -0300 Subject: [PATCH] Use default keyword to implement constructor/destructor - Addresses SonarCloud cpp:S3490 issue (Special member function should not be defined unless a non standard behavior is required) --- src/debug_log/debug_log_writer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debug_log/debug_log_writer.h b/src/debug_log/debug_log_writer.h index 698ff358..46b641d6 100644 --- a/src/debug_log/debug_log_writer.h +++ b/src/debug_log/debug_log_writer.h @@ -37,8 +37,8 @@ class DebugLogWriter { static int open(const std::string& m_fileName, std::string *error); private: - DebugLogWriter() { } - ~DebugLogWriter() { } + DebugLogWriter() = default; + ~DebugLogWriter() = default; // C++ 03 // ========