summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-02-11 08:30:55 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-02-11 08:55:50 (GMT)
commita85bea173a78caf21a375675cc12eb1db22b1c19 (patch)
treea77e25cc54aacd935c28ad99bdab8a08bcb67f8e /Source
parentd31f31714bb0b4e027ed99998e5f90ebe52d9304 (diff)
downloadCMake-a85bea173a78caf21a375675cc12eb1db22b1c19.zip
CMake-a85bea173a78caf21a375675cc12eb1db22b1c19.tar.gz
CMake-a85bea173a78caf21a375675cc12eb1db22b1c19.tar.bz2
cmGlobalNinjaGenerator: avoid unnecessary string addition
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index ff9c433..e83ac08 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -714,7 +714,7 @@ bool cmGlobalNinjaGenerator::CheckFortran(cmMakefile* mf) const
/* clang-format off */
e <<
"The Ninja generator does not support Fortran using Ninja version\n"
- " " + this->NinjaVersion + "\n"
+ " " << this->NinjaVersion << "\n"
"due to lack of required features. "
"Kitware has implemented the required features and they have been "
"merged to upstream ninja for inclusion in Ninja 1.10 and higher. "