Changeset 1502
- Timestamp:
- Aug 28, 2012, 12:33:19 PM (11 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Configuration.cc
r1459 r1502 114 114 for (String2Codons::const_iterator i(string2codons_.begin()); 115 115 i!=string2codons_.end(); ++i) { 116 if (fnmatch(i->first .c_str(), file_name.c_str()))116 if (fnmatch(i->first, file_name)) 117 117 return &i->second; 118 118 } … … 136 136 { 137 137 for (size_t i=0; i<dictionary_.size(); ++i) 138 if (fnmatch(lhs .c_str(), dictionary_[i].first.c_str()))138 if (fnmatch(lhs, dictionary_[i].first)) 139 139 return &dictionary_[i]; 140 140 return NULL; … … 291 291 for (String2Codons::const_iterator i(string2codons_.begin()); 292 292 i!=string2codons_.end(); ++i) { 293 if (fnmatch(lhs .c_str(), i->first.c_str())) {293 if (fnmatch(lhs, i->first)) { 294 294 mess << "'" << i->first << "'"; 295 295 break; -
trunk/lib/Configuration.h
r1378 r1502 25 25 26 26 #include "Alias.h" 27 #include "utility.h" 27 28 28 29 #include <iostream> … … 269 270 { 270 271 for( ; first!=last; ++first) { 271 if (fnmatch(first->first .c_str(), filename.c_str()))272 if (fnmatch(first->first, filename)) 272 273 return first; 273 274 }
Note: See TracChangeset
for help on using the changeset viewer.