summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
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;
}