diff options
author | Brad King <brad.king@kitware.com> | 2020-09-08 15:17:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-09-08 15:18:28 (GMT) |
commit | b63f508e4d7ccb8f543512630394a4021a14cab2 (patch) | |
tree | e91b0d948bd9375b7f9d5892db64ed819a77a3f2 /Source/cmStateSnapshot.cxx | |
parent | 0bd964096859944ae28506fc8c0789df252865a6 (diff) | |
parent | 879bd7fd9c84fa72001632818fce43339d755e3b (diff) | |
download | CMake-b63f508e4d7ccb8f543512630394a4021a14cab2.zip CMake-b63f508e4d7ccb8f543512630394a4021a14cab2.tar.gz CMake-b63f508e4d7ccb8f543512630394a4021a14cab2.tar.bz2 |
Merge topic 'GetExecutionListFile-by-ref'
879bd7fd9c cmStateSnapshot: Return const reference from GetExecutionListFile()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5186
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 3fcf61c..1e20abb 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; } |