/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3934 by schoenebeck, Thu Jun 17 09:44:03 2021 UTC revision 3935 by schoenebeck, Thu Jun 17 10:09:42 2021 UTC
# Line 6956  namespace { Line 6956  namespace {
6956       * @param index - number of the sought group (0..n)       * @param index - number of the sought group (0..n)
6957       * @returns sought group or NULL if there's no such group       * @returns sought group or NULL if there's no such group
6958       */       */
6959      Group* File::GetGroup(uint index) {      Group* File::GetGroup(size_t index) {
6960          if (!pGroups) LoadGroups();          if (!pGroups) LoadGroups();
6961          GroupsIterator = pGroups->begin();          GroupsIterator = pGroups->begin();
6962          for (uint i = 0; GroupsIterator != pGroups->end(); i++) {          for (size_t i = 0; GroupsIterator != pGroups->end(); i++) {
6963              if (i == index) return *GroupsIterator;              if (i == index) return *GroupsIterator;
6964              ++GroupsIterator;              ++GroupsIterator;
6965          }          }

Legend:
Removed from v.3934  
changed lines
  Added in v.3935

  ViewVC Help
Powered by ViewVC