mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
clang-tidy: Use = default
Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and
`Source/cmUVHandlePtr.h` where a few older compilers require a
user-defined default constructor (with `{}`).
This commit is contained in:
committed by
Brad King
parent
a7f5cd45e1
commit
55671b41d2
@@ -22,7 +22,7 @@ struct cmGeneratorExpressionNode
|
||||
OneOrMoreParameters = -1,
|
||||
OneOrZeroParameters = -2
|
||||
};
|
||||
virtual ~cmGeneratorExpressionNode() {}
|
||||
virtual ~cmGeneratorExpressionNode() = default;
|
||||
|
||||
virtual bool GeneratesContent() const { return true; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user