From 5cc9fb02349e4b7e63f3cb087dc37b3c9b096e1d Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 22 Jan 2014 14:45:13 +0100 Subject: cmSourceGroup: Fix method name capitalization. Adhere to the dominant style. --- Source/cmMakefile.cxx | 4 ++-- Source/cmSourceGroup.cxx | 2 +- Source/cmSourceGroup.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 5a3e721..6dc6a46 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2137,7 +2137,7 @@ cmMakefile::GetSourceGroup(const std::vector&name) const // iterate through its children to find match source group for(unsigned int i=1; ilookupChild(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& 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)) { diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx index dc0848c..d272b6c 100644 --- a/Source/cmSourceGroup.cxx +++ b/Source/cmSourceGroup.cxx @@ -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::const_iterator iter = diff --git a/Source/cmSourceGroup.h b/Source/cmSourceGroup.h index fd806da..3bbdef9 100644 --- a/Source/cmSourceGroup.h +++ b/Source/cmSourceGroup.h @@ -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. -- cgit v0.12