diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 19:55:04 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 19:55:04 (GMT) |
commit | 765822add7896f256078006191b2629bcf778849 (patch) | |
tree | e2e7842a2f04104832313ebe4bd18c501be66dc9 /Source/cmake.h | |
parent | 0d0995b7f8bc3ca6b88e8794ab03b0c7a1c2a8ca (diff) | |
download | CMake-765822add7896f256078006191b2629bcf778849.zip CMake-765822add7896f256078006191b2629bcf778849.tar.gz CMake-765822add7896f256078006191b2629bcf778849.tar.bz2 |
cmake: pass cmStateSnapshot by const ref
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 4c292f0..6a6beb4 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -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; } |