Commit 5cc9fb02 authored by Stephen Kelly's avatar Stephen Kelly

cmSourceGroup: Fix method name capitalization.

Adhere to the dominant style.
parent fe8b0330
......@@ -2137,7 +2137,7 @@ cmMakefile::GetSourceGroup(const std::vector<std::string>&name) const
// iterate through its children to find match source group
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)
{
break;
......@@ -2208,7 +2208,7 @@ void cmMakefile::AddSourceGroup(const std::vector<std::string>& name,
for(++i; i<=lastElement; ++i)
{
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();
if(strlen(fullname))
{
......
......@@ -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
std::vector<cmSourceGroup>::const_iterator iter =
......
......@@ -56,7 +56,7 @@ public:
/**
* Looks up child and returns it
*/
cmSourceGroup *lookupChild(const char *name) const;
cmSourceGroup *LookupChild(const char *name) const;
/**
* Get the name of this group.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment