Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ inline bool match(const std::string& a_string,const std::string& a_pattern,bool
unsigned int wn;
std::string::size_type* wls = wps+lpattern;
words(a_pattern,"*",false,wn,wps,wls);
words(a_pattern,"*",false,wn,wps,wls);
if(!wn) {
//delete [] wps;
return true; // only wildcards :
@@ -43,7 +43,7 @@ inline bool match(const std::string& a_string,const std::string& a_pattern,bool
// tricky case :
char* token = (char*)a_string.c_str();
{for(unsigned int count=0;count<wn;count++) {
{for(unsigned int count=0;count<wn;count++) {
size_t lword = wls[count];
if(!lword) continue;//should never happen !
//WARNING : ws_pos does not have a null char at ws_pos+lword !