mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
clang-tidy: Use = delete
This commit is contained in:
committed by
Brad King
parent
d75fec5a88
commit
b05b778a2d
@@ -410,11 +410,13 @@ public:
|
||||
original environment. */
|
||||
class SaveRestoreEnvironment
|
||||
{
|
||||
CM_DISABLE_COPY(SaveRestoreEnvironment)
|
||||
public:
|
||||
SaveRestoreEnvironment();
|
||||
~SaveRestoreEnvironment();
|
||||
|
||||
SaveRestoreEnvironment(SaveRestoreEnvironment const&) = delete;
|
||||
SaveRestoreEnvironment& operator=(SaveRestoreEnvironment const&) = delete;
|
||||
|
||||
private:
|
||||
std::vector<std::string> Env;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user