Skip to content

Commit 96ff573

Browse files
committed
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)
1 parent 14ed9d9 commit 96ff573

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/debug_log/debug_log_writer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ class DebugLogWriter {
3737
static int open(const std::string& m_fileName, std::string *error);
3838

3939
private:
40-
DebugLogWriter() { }
41-
~DebugLogWriter() { }
40+
DebugLogWriter() = default;
41+
~DebugLogWriter() = default;
4242

4343
// C++ 03
4444
// ========

0 commit comments

Comments
 (0)