summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoMocUic.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-05-22 18:32:45 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-22 21:15:58 (GMT)
commit9ea7b4ac66fee01a840dba9071a8bd0a4a576e8d (patch)
tree92259ff505d4a0bb3c289a620242e7ca5eca7dc3 /Source/cmQtAutoMocUic.cxx
parentbd4ec7a71ea0033b6a4fd80956e6a84e40a5a5ef (diff)
downloadCMake-9ea7b4ac66fee01a840dba9071a8bd0a4a576e8d.zip
CMake-9ea7b4ac66fee01a840dba9071a8bd0a4a576e8d.tar.gz
CMake-9ea7b4ac66fee01a840dba9071a8bd0a4a576e8d.tar.bz2
clang-tidy: Fix readability-redundant-string-cstr warnings
Diffstat (limited to 'Source/cmQtAutoMocUic.cxx')
-rw-r--r--Source/cmQtAutoMocUic.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmQtAutoMocUic.cxx b/Source/cmQtAutoMocUic.cxx
index b7af859..a101a81 100644
--- a/Source/cmQtAutoMocUic.cxx
+++ b/Source/cmQtAutoMocUic.cxx
@@ -2272,10 +2272,9 @@ cmQtAutoMocUicT::JobDepFilesMergeT::initialDependencies() const
void cmQtAutoMocUicT::JobDepFilesMergeT::Process()
{
if (this->Log().Verbose()) {
- this->Log().Info(
- GenT::MOC,
- cmStrCat("Merging MOC dependencies into ",
- this->MessagePath(this->BaseConst().DepFile.c_str())));
+ this->Log().Info(GenT::MOC,
+ cmStrCat("Merging MOC dependencies into ",
+ this->MessagePath(this->BaseConst().DepFile)));
}
auto processDepFile =
[this](const std::string& mocOutputFile) -> std::vector<std::string> {