summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputConverter.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-08-09 15:58:45 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-08-12 08:59:21 (GMT)
commitada121e573fb1a4c2d4ea5ee2ee51daca80d4de8 (patch)
treef7c7c16ff5e3011073d00e4be9b9bc1ff28f96ce /Source/cmOutputConverter.cxx
parenteba2b13a835000a614f21a1205a598462a4f8843 (diff)
downloadCMake-ada121e573fb1a4c2d4ea5ee2ee51daca80d4de8.zip
CMake-ada121e573fb1a4c2d4ea5ee2ee51daca80d4de8.tar.gz
CMake-ada121e573fb1a4c2d4ea5ee2ee51daca80d4de8.tar.bz2
cmStateDirectory: use const std::string& for return values
Diffstat (limited to 'Source/cmOutputConverter.cxx')
-rw-r--r--Source/cmOutputConverter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx
index fd42c53..dbe6fa1 100644
--- a/Source/cmOutputConverter.cxx
+++ b/Source/cmOutputConverter.cxx
@@ -83,9 +83,9 @@ bool cmOutputConverter::ContainedInDirectory(std::string const& local_path,
std::string const& remote_path,
cmStateDirectory const& directory)
{
- const std::string relativePathTopBinary =
+ const std::string& relativePathTopBinary =
directory.GetRelativePathTopBinary();
- const std::string relativePathTopSource =
+ const std::string& relativePathTopSource =
directory.GetRelativePathTopSource();
const bool bothInBinary =