summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-10-30 17:34:06 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-10-30 17:34:06 (GMT)
commit602b78aa79f6d99e775fa0a84fb441156d192833 (patch)
tree41e41ce60fd8eefb7e34db35884bfa9925d73c8b /Source/cmFLTKWrapUICommand.cxx
parentc58c739da7287a1cb33558f4e121ecdb23cfadd9 (diff)
downloadCMake-602b78aa79f6d99e775fa0a84fb441156d192833.zip
CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.gz
CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.bz2
Remove redundant c_str() calls
Diffstat (limited to 'Source/cmFLTKWrapUICommand.cxx')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index 1f0ce8d..1e8ca06 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -82,8 +82,8 @@ bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args,
no_working_dir);
cmSourceFile* sf = this->Makefile->GetSource(cxxres);
- sf->AddDepend(hname.c_str());
- sf->AddDepend(origname.c_str());
+ sf->AddDepend(hname);
+ sf->AddDepend(origname);
this->GeneratedSourcesClasses.push_back(sf);
}
}