mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
cmSystemTools::SaveRestoreEnvironment: make noncopyable
Also, make the destructor non-virtual.
This commit is contained in:
@@ -381,9 +381,12 @@ public:
|
||||
{
|
||||
public:
|
||||
SaveRestoreEnvironment();
|
||||
virtual ~SaveRestoreEnvironment();
|
||||
~SaveRestoreEnvironment();
|
||||
|
||||
private:
|
||||
SaveRestoreEnvironment(SaveRestoreEnvironment const&);
|
||||
SaveRestoreEnvironment& operator=(SaveRestoreEnvironment const&);
|
||||
|
||||
std::vector<std::string> Env;
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user