summaryrefslogtreecommitdiffstats
path: root/Source/cmStateSnapshot.cxx
diff options
context:
space:
mode:
authorOleksandr Koval <oleksandr.koval.dev@gmail.com>2020-09-03 21:17:32 (GMT)
committerOleksandr Koval <oleksandr.koval.dev@gmail.com>2020-09-03 21:17:32 (GMT)
commit879bd7fd9c84fa72001632818fce43339d755e3b (patch)
tree7353020ca6f4fb86a793fe4ab70a100fce460c1b /Source/cmStateSnapshot.cxx
parentca5babfd7a1da8e32f927ad086fdd91c2b09853b (diff)
downloadCMake-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.cxx2
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;
}