mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06: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
@@ -1079,7 +1079,7 @@ struct cmFileCopier
|
||||
, Doing(DoingNone)
|
||||
{
|
||||
}
|
||||
virtual ~cmFileCopier() {}
|
||||
virtual ~cmFileCopier() = default;
|
||||
|
||||
bool Run(std::vector<std::string> const& args);
|
||||
|
||||
@@ -1102,7 +1102,7 @@ protected:
|
||||
{
|
||||
bool Exclude = false;
|
||||
mode_t Permissions = 0;
|
||||
MatchProperties() {}
|
||||
MatchProperties() = default;
|
||||
};
|
||||
struct MatchRule
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user