Changeset 9047 for code/branches/testing/src/modules
- Timestamp:
- Mar 18, 2012, 6:43:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/modules/notifications/dispatchers/CommandNotification.cc
r7489 r9047 117 117 const std::string& CommandNotification::bindingNiceifyer(const std::string& binding) 118 118 { 119 SubString s tring = SubString(binding, ".");119 SubString substring = SubString(binding, "."); 120 120 std::string name; 121 121 std::string group; 122 switch(s tring.size())122 switch(substring.size()) 123 123 { 124 124 case 0: … … 127 127 return binding; 128 128 case 2: 129 group = s tring[0];129 group = substring[0]; 130 130 default: 131 name = s tring.subSet(1, string.size()).join(".");131 name = substring.subSet(1).join("."); 132 132 } 133 133 … … 148 148 return *(new std::string(stream.str())); 149 149 } 150 150 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.