From 074534a56d4d6146c2389fd256299197e5bad027 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Wed, 15 Feb 2017 11:28:27 +0100 Subject: Autogen: Inline string generation --- Source/cmQtAutoGenerators.cxx | 7 ++----- 1 file 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) { -- cgit v0.12