Code cleanup & cosmetics: Moved Measure/Meter shared part to Section.h

This commit is contained in:
spx
2012-08-09 06:50:58 -07:00
parent 5103190129
commit 489f2c5a30
10 changed files with 82 additions and 62 deletions

View File

@ -44,12 +44,12 @@ void CGroup::InitializeGroup(const std::wstring& groups)
}
}
bool CGroup::BelongsToGroup(const std::wstring& group)
bool CGroup::BelongsToGroup(const std::wstring& group) const
{
return (m_Groups.find(CreateGroup(group)) != m_Groups.end());
}
std::wstring CGroup::CreateGroup(const std::wstring& str)
std::wstring CGroup::CreateGroup(const std::wstring& str) const
{
std::wstring strTmp;