summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmQtAutoGenerators.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 842461a..a167705 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -1131,11 +1131,8 @@ bool cmQtAutoGenerators::MocGenerateAll(
}
// Actually write moc_compilation.cpp
- {
- std::string msg = "Generating MOC compilation ";
- msg += this->OutMocCppFilenameRel;
- this->LogBold(msg);
- }
+ this->LogBold("Generating MOC compilation " + this->OutMocCppFilenameRel);
+
// Make sure the parent directory exists
bool success = this->MakeParentDirectory(this->OutMocCppFilenameAbs);
if (success) {