cmSourceGroup: Fix method name capitalization.

Adhere to the dominant style.
This commit is contained in:
Stephen Kelly 2014-01-22 14:45:13 +01:00
parent fe8b0330eb
commit 5cc9fb0234
3 changed files with 4 additions and 4 deletions

View File

@ -2137,7 +2137,7 @@ cmMakefile::GetSourceGroup(const std::vector<std::string>&name) const
// iterate through its children to find match source group // iterate through its children to find match source group
for(unsigned int i=1; i<name.size(); ++i) for(unsigned int i=1; i<name.size(); ++i)
{ {
sg = sg->lookupChild(name[i].c_str()); sg = sg->LookupChild(name[i].c_str());
if(sg == 0) if(sg == 0)
{ {
break; break;
@ -2208,7 +2208,7 @@ void cmMakefile::AddSourceGroup(const std::vector<std::string>& name,
for(++i; i<=lastElement; ++i) for(++i; i<=lastElement; ++i)
{ {
sg->AddChild(cmSourceGroup(name[i].c_str(), 0, sg->GetFullName())); sg->AddChild(cmSourceGroup(name[i].c_str(), 0, sg->GetFullName()));
sg = sg->lookupChild(name[i].c_str()); sg = sg->LookupChild(name[i].c_str());
fullname = sg->GetFullName(); fullname = sg->GetFullName();
if(strlen(fullname)) if(strlen(fullname))
{ {

View File

@ -126,7 +126,7 @@ void cmSourceGroup::AddChild(cmSourceGroup child)
} }
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
cmSourceGroup *cmSourceGroup::lookupChild(const char* name) const cmSourceGroup *cmSourceGroup::LookupChild(const char* name) const
{ {
// initializing iterators // initializing iterators
std::vector<cmSourceGroup>::const_iterator iter = std::vector<cmSourceGroup>::const_iterator iter =

View File

@ -56,7 +56,7 @@ public:
/** /**
* Looks up child and returns it * Looks up child and returns it
*/ */
cmSourceGroup *lookupChild(const char *name) const; cmSourceGroup *LookupChild(const char *name) const;
/** /**
* Get the name of this group. * Get the name of this group.