summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-11-04 15:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-11-04 15:11:54 (GMT)
commitc7b50349de5e56d7584fa644832170d1e08ef62e (patch)
tree0fd42e52ae4cc439867b46b85664f0e1215690e4 /Source/cmQtAutoGenInitializer.cxx
parent622ac065d2abeb53de3548b7e4f3d9b5980dfa8d (diff)
downloadCMake-c7b50349de5e56d7584fa644832170d1e08ef62e.zip
CMake-c7b50349de5e56d7584fa644832170d1e08ef62e.tar.gz
CMake-c7b50349de5e56d7584fa644832170d1e08ef62e.tar.bz2
cmSourceFile::GetPropertyForUser: return cmProp
also fix GetSafeProperty() return type
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenInitializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx
index 3b62e9c..f2696a6 100644
--- a/Source/cmQtAutoGenInitializer.cxx
+++ b/Source/cmQtAutoGenInitializer.cxx
@@ -807,7 +807,7 @@ bool cmQtAutoGenInitializer::InitScanFiles()
qrc.Generated = sf->GetIsGenerated();
// RCC options
{
- std::string const opts = sf->GetSafeProperty(kw.AUTORCC_OPTIONS);
+ std::string const& opts = sf->GetSafeProperty(kw.AUTORCC_OPTIONS);
if (!opts.empty()) {
cmExpandList(opts, qrc.Options);
}