summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-14 19:22:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-14 19:22:53 (GMT)
commit3d4c7887378bb3f0d486f7ec8166161f0b639c06 (patch)
tree0d65d17ad789d459ffe83f8a2c38affa1492eb2d /Source/cmXCodeObject.h
parent401922e04ba57d5672abf1cb112f79018e0e8f74 (diff)
downloadCMake-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.h9
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();