diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-05-26 20:52:22 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-05-26 20:52:22 (GMT) |
commit | 1b2bb93302116a4791cf82e9cce028dfe87ef55d (patch) | |
tree | b20aead9b34d9bdba3243439dd8f0aed032727e2 /Source/cmQtAutoGeneratorInitializer.cxx | |
parent | acd8a73044e879286f0cfa24b54497a8307f204b (diff) | |
download | CMake-1b2bb93302116a4791cf82e9cce028dfe87ef55d.zip CMake-1b2bb93302116a4791cf82e9cce028dfe87ef55d.tar.gz CMake-1b2bb93302116a4791cf82e9cce028dfe87ef55d.tar.bz2 |
Remove redundant c_str() calls.
Run clang-tidy's readability-redundant-string-cstr checker.
Ignore findings in kwsys.
Diffstat (limited to 'Source/cmQtAutoGeneratorInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGeneratorInitializer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx index 0388a95..dd19760 100644 --- a/Source/cmQtAutoGeneratorInitializer.cxx +++ b/Source/cmQtAutoGeneratorInitializer.cxx @@ -963,7 +963,7 @@ void cmQtAutoGeneratorInitializer::SetupAutoGenerateTarget( cmsys::ofstream infoFile(outputFile.c_str(), std::ios::app); if (!infoFile) { std::string error = "Internal CMake error when trying to open file: "; - error += outputFile.c_str(); + error += outputFile; error += " for writing."; cmSystemTools::Error(error.c_str()); return; |