diff options
author | Oleksandr Koval <oleksandr.koval.dev@gmail.com> | 2020-09-03 21:17:32 (GMT) |
---|---|---|
committer | Oleksandr Koval <oleksandr.koval.dev@gmail.com> | 2020-09-03 21:17:32 (GMT) |
commit | 879bd7fd9c84fa72001632818fce43339d755e3b (patch) | |
tree | 7353020ca6f4fb86a793fe4ab70a100fce460c1b /Source/cmStateSnapshot.cxx | |
parent | ca5babfd7a1da8e32f927ad086fdd91c2b09853b (diff) | |
download | CMake-879bd7fd9c84fa72001632818fce43339d755e3b.zip CMake-879bd7fd9c84fa72001632818fce43339d755e3b.tar.gz CMake-879bd7fd9c84fa72001632818fce43339d755e3b.tar.bz2 |
cmStateSnapshot: Return const reference from GetExecutionListFile()
Diffstat (limited to 'Source/cmStateSnapshot.cxx')
-rw-r--r-- | Source/cmStateSnapshot.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStateSnapshot.cxx b/Source/cmStateSnapshot.cxx index bf8e331..ddd2222 100644 --- a/Source/cmStateSnapshot.cxx +++ b/Source/cmStateSnapshot.cxx @@ -53,7 +53,7 @@ void cmStateSnapshot::SetListFile(const std::string& listfile) *this->Position->ExecutionListFile = listfile; } -std::string cmStateSnapshot::GetExecutionListFile() const +std::string const& cmStateSnapshot::GetExecutionListFile() const { return *this->Position->ExecutionListFile; } |