mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
cmake: pass cmStateSnapshot by const ref
This commit is contained in:
parent
0d0995b7f8
commit
765822add7
@ -409,7 +409,7 @@ public:
|
||||
void WatchUnusedCli(const std::string& var);
|
||||
|
||||
cmState* GetState() const { return this->State; }
|
||||
void SetCurrentSnapshot(cmStateSnapshot snapshot)
|
||||
void SetCurrentSnapshot(cmStateSnapshot const& snapshot)
|
||||
{
|
||||
this->CurrentSnapshot = snapshot;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user