diff options
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r-- | Source/cmXCodeObject.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h index 04d1f93..5760ddd 100644 --- a/Source/cmXCodeObject.h +++ b/Source/cmXCodeObject.h @@ -51,11 +51,13 @@ public: } bool HasObject(cmXCodeObject* o) { - return !(std::find(this->List.begin(), this->List.end(), o) == this->List.end()); + return !(std::find(this->List.begin(), this->List.end(), o) + == this->List.end()); } void AddUniqueObject(cmXCodeObject* value) { - if(std::find(this->List.begin(), this->List.end(), value) == this->List.end()) + if(std::find(this->List.begin(), this->List.end(), value) + == this->List.end()) { this->List.push_back(value); } @@ -64,7 +66,8 @@ public: void Print(std::ostream& out); virtual void PrintComment(std::ostream&) {}; - static void PrintList(std::vector<cmXCodeObject*> const&, std::ostream& out); + static void PrintList(std::vector<cmXCodeObject*> const&, + std::ostream& out); const char* GetId() { return this->Id.c_str(); |