mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -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
@@ -14,10 +14,10 @@
|
||||
class cmFunctionHelperCommand : public cmCommand
|
||||
{
|
||||
public:
|
||||
cmFunctionHelperCommand() {}
|
||||
cmFunctionHelperCommand() = default;
|
||||
|
||||
///! clean up any memory allocated by the function
|
||||
~cmFunctionHelperCommand() override {}
|
||||
~cmFunctionHelperCommand() override = default;
|
||||
|
||||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
|
||||
Reference in New Issue
Block a user