diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-04-30 14:00:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-30 14:27:16 (GMT) |
commit | 53675adbcf2f485d68c45e53d28baf6db220264c (patch) | |
tree | 8d0d761714de6f0a8f7c512f1af05e2f6bde493b /Source/cmQtAutoGenGlobalInitializer.cxx | |
parent | c09efe074d793203ab846e97bde8d03e4714dc2a (diff) | |
download | CMake-53675adbcf2f485d68c45e53d28baf6db220264c.zip CMake-53675adbcf2f485d68c45e53d28baf6db220264c.tar.gz CMake-53675adbcf2f485d68c45e53d28baf6db220264c.tar.bz2 |
GetSafeProperty: return std::string const&
Diffstat (limited to 'Source/cmQtAutoGenGlobalInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGenGlobalInitializer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenGlobalInitializer.cxx b/Source/cmQtAutoGenGlobalInitializer.cxx index 18b135d..a32f3e7 100644 --- a/Source/cmQtAutoGenGlobalInitializer.cxx +++ b/Source/cmQtAutoGenGlobalInitializer.cxx @@ -95,11 +95,11 @@ cmQtAutoGenGlobalInitializer::cmQtAutoGenGlobalInitializer( bool const uic = target->GetPropertyAsBool(kw().AUTOUIC); bool const rcc = target->GetPropertyAsBool(kw().AUTORCC); if (moc || uic || rcc) { - std::string const mocExec = + std::string const& mocExec = target->GetSafeProperty(kw().AUTOMOC_EXECUTABLE); - std::string const uicExec = + std::string const& uicExec = target->GetSafeProperty(kw().AUTOUIC_EXECUTABLE); - std::string const rccExec = + std::string const& rccExec = target->GetSafeProperty(kw().AUTORCC_EXECUTABLE); // We support Qt4, Qt5 and Qt6 |