summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGen.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-08-06 08:40:49 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-08-07 17:48:02 (GMT)
commitca2923110c9999c5cd538a91ec61b10d0b336c48 (patch)
tree24d145f2a2ae0ce07a4298a5f3539f7445eaa015 /Source/cmQtAutoGen.cxx
parentd02a99d9d3aa8d8f33efbd3255c78d6b87a99a22 (diff)
downloadCMake-ca2923110c9999c5cd538a91ec61b10d0b336c48.zip
CMake-ca2923110c9999c5cd538a91ec61b10d0b336c48.tar.gz
CMake-ca2923110c9999c5cd538a91ec61b10d0b336c48.tar.bz2
Autogen: Modernize to use cmStrCat for string concatenation
Diffstat (limited to 'Source/cmQtAutoGen.cxx')
-rw-r--r--Source/cmQtAutoGen.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmQtAutoGen.cxx b/Source/cmQtAutoGen.cxx
index 712e22c..3026b33 100644
--- a/Source/cmQtAutoGen.cxx
+++ b/Source/cmQtAutoGen.cxx
@@ -353,9 +353,8 @@ bool cmQtAutoGen::RccLister::list(std::string const& qrcFile,
// Log command
if (verbose) {
- std::string msg = "Running command:\n";
- msg += QuotedCommand(cmd);
- msg += '\n';
+ std::string msg =
+ cmStrCat("Running command:\n", QuotedCommand(cmd), '\n');
cmSystemTools::Stdout(msg);
}