Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 18, 2012, 6:43:24 PM (13 years ago)
Author:
landauf
Message:

made SubString more standard compliant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/testing/src/modules/notifications/dispatchers/CommandNotification.cc

    r7489 r9047  
    117117    const std::string& CommandNotification::bindingNiceifyer(const std::string& binding)
    118118    {
    119         SubString string = SubString(binding, ".");
     119        SubString substring = SubString(binding, ".");
    120120        std::string name;
    121121        std::string group;
    122         switch(string.size())
     122        switch(substring.size())
    123123        {
    124124            case 0:
     
    127127                return binding;
    128128            case 2:
    129                 group = string[0];
     129                group = substring[0];
    130130            default:
    131                 name = string.subSet(1, string.size()).join(".");
     131                name = substring.subSet(1).join(".");
    132132        }
    133133
     
    148148        return *(new std::string(stream.str()));
    149149    }
    150    
     150
    151151}
Note: See TracChangeset for help on using the changeset viewer.