mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
cleanup: Prefer compiler provided special member functions
This commit is contained in:
committed by
Brad King
parent
55671b41d2
commit
094f01d0f0
@@ -18,15 +18,13 @@ class cmMakefile;
|
||||
class cmFunctionFunctionBlocker : public cmFunctionBlocker
|
||||
{
|
||||
public:
|
||||
cmFunctionFunctionBlocker() { this->Depth = 0; }
|
||||
~cmFunctionFunctionBlocker() override = default;
|
||||
bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile& mf,
|
||||
cmExecutionStatus&) override;
|
||||
bool ShouldRemove(const cmListFileFunction&, cmMakefile& mf) override;
|
||||
|
||||
std::vector<std::string> Args;
|
||||
std::vector<cmListFileFunction> Functions;
|
||||
int Depth;
|
||||
int Depth = 0;
|
||||
};
|
||||
|
||||
/// Starts function() ... endfunction() block
|
||||
|
||||
Reference in New Issue
Block a user