diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-14 19:22:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-14 19:22:53 (GMT) |
commit | 3d4c7887378bb3f0d486f7ec8166161f0b639c06 (patch) | |
tree | 0d65d17ad789d459ffe83f8a2c38affa1492eb2d /Source/cmXCodeObject.h | |
parent | 401922e04ba57d5672abf1cb112f79018e0e8f74 (diff) | |
download | CMake-3d4c7887378bb3f0d486f7ec8166161f0b639c06.zip CMake-3d4c7887378bb3f0d486f7ec8166161f0b639c06.tar.gz CMake-3d4c7887378bb3f0d486f7ec8166161f0b639c06.tar.bz2 |
ENH: merge from main tree
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(); |