mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
cmSystemTools::SaveRestoreEnvironment: make noncopyable
Also, make the destructor non-virtual.
This commit is contained in:
1 parent
aecba65241
commit
7d6090aec4
1 file changed
+4
-1
@@ -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