mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +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);
|
static int open(const std::string& m_fileName, std::string *error);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DebugLogWriter() { }
|
DebugLogWriter() = default;
|
||||||
~DebugLogWriter() { }
|
~DebugLogWriter() = default;
|
||||||
|
|
||||||
// C++ 03
|
// C++ 03
|
||||||
// ========
|
// ========
|
||||||
|
Loading…
x
Reference in New Issue
Block a user