summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallScriptGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-22 15:37:38 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-27 13:45:45 (GMT)
commit808b17b1206dd70c7fbd676e8c24181cde537954 (patch)
treee20da218e1f9d702f4ff76fac9595740d375c3ed /Source/cmInstallScriptGenerator.cxx
parent4470eb5179d6ccbe5e31cec758546e820752f2d8 (diff)
downloadCMake-808b17b1206dd70c7fbd676e8c24181cde537954.zip
CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.gz
CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.bz2
clang-tidy: fix `readability-make-member-function-const` warnings
Diffstat (limited to 'Source/cmInstallScriptGenerator.cxx')
-rw-r--r--Source/cmInstallScriptGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmInstallScriptGenerator.cxx b/Source/cmInstallScriptGenerator.cxx
index ce2472d..5b01791 100644
--- a/Source/cmInstallScriptGenerator.cxx
+++ b/Source/cmInstallScriptGenerator.cxx
@@ -53,9 +53,8 @@ bool cmInstallScriptGenerator::Compute(cmLocalGenerator* lg)
return true;
}
-void cmInstallScriptGenerator::AddScriptInstallRule(std::ostream& os,
- Indent indent,
- std::string const& script)
+void cmInstallScriptGenerator::AddScriptInstallRule(
+ std::ostream& os, Indent indent, std::string const& script) const
{
if (this->Code) {
os << indent << script << "\n";