mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
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)
This commit is contained in:
parent
411bbb2d36
commit
b69405a372
@ -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
|
||||
// ========
|
||||
|
Loading…
x
Reference in New Issue
Block a user