diff options
author | Brad King <brad.king@kitware.com> | 2019-09-05 14:31:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-05 14:31:56 (GMT) |
commit | 5acf0de1feb83a8ec5d8f1348091501919b17cad (patch) | |
tree | 0d95a98e98ed5832159b97cbf8bc2fd521d7d3e1 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 6db8f6a410d99e9a66847530bb520b329d2f1a9e (diff) | |
download | CMake-5acf0de1feb83a8ec5d8f1348091501919b17cad.zip CMake-5acf0de1feb83a8ec5d8f1348091501919b17cad.tar.gz CMake-5acf0de1feb83a8ec5d8f1348091501919b17cad.tar.bz2 |
cmLocalGenerator: Remove AppendFlags 'const char*' overload
Update call sites to ensure the `std::string` argument can be
constructed safely.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 106e506..320a58b 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -831,12 +831,6 @@ void cmLocalUnixMakefileGenerator3::AppendFlags( this->cmLocalGenerator::AppendFlags(flags, newFlags); } -void cmLocalUnixMakefileGenerator3::AppendFlags(std::string& flags, - const char* newFlags) const -{ - this->cmLocalGenerator::AppendFlags(flags, newFlags); -} - void cmLocalUnixMakefileGenerator3::AppendRuleDepend( std::vector<std::string>& depends, const char* ruleFileName) { |