summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorMatthias Maennich <matthias@maennich.net>2017-09-19 21:49:38 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-28 11:23:42 (GMT)
commit9a2da3395034844fb91998005d9c7db648492c6b (patch)
treecfbae33e6f9b354c63fc33e9568c81b846e094e7 /Source/cmXCodeObject.cxx
parent870dd06da15751250786d435ee4c1361a2b10b4d (diff)
downloadCMake-9a2da3395034844fb91998005d9c7db648492c6b.zip
CMake-9a2da3395034844fb91998005d9c7db648492c6b.tar.gz
CMake-9a2da3395034844fb91998005d9c7db648492c6b.tar.bz2
Fix some occurrences of readability-avoid-const-params-in-decls
Fix issues diagnosed by clang-tidy [readability-avoid-const-params-in-decls] Signed-off-by: Matthias Maennich <matthias@maennich.net>
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 457f913..356ebd0 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -129,9 +129,9 @@ void cmXCodeObject::Print(std::ostream& out)
out << "};\n";
}
-void cmXCodeObject::PrintAttribute(std::ostream& out, const int level,
- const std::string& separator,
- const int factor, const std::string& name,
+void cmXCodeObject::PrintAttribute(std::ostream& out, int level,
+ const std::string& separator, int factor,
+ const std::string& name,
const cmXCodeObject* object,
const cmXCodeObject* parent)
{