mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
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>
This commit is contained in:
committed by
Brad King
parent
870dd06da1
commit
9a2da33950
@@ -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)
|
||||
{
|
||||
|
||||
@@ -94,8 +94,8 @@ public:
|
||||
}
|
||||
static void Indent(int level, std::ostream& out);
|
||||
void Print(std::ostream& out);
|
||||
void PrintAttribute(std::ostream& out, const int level,
|
||||
const std::string& separator, const int factor,
|
||||
void PrintAttribute(std::ostream& out, int level,
|
||||
const std::string& separator, int factor,
|
||||
const std::string& name, const cmXCodeObject* object,
|
||||
const cmXCodeObject* parent);
|
||||
virtual void PrintComment(std::ostream&) {}
|
||||
|
||||
Reference in New Issue
Block a user