File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,12 @@ int countIncludePaths()
2323   auto  * envVarCStr  =  std ::getenv ("ROOT_INCLUDE_PATH" );
2424   if  (envVarCStr ) {
2525      std ::string  envVar (envVarCStr );
26-       nEnvVarPaths  = 
27-          countSubstring (envVar , ":" ) +  1  -  (envVar .back () ==  ':' ) -  (envVar .front () ==  ':' );
26+       nEnvVarPaths  =  countSubstring (envVar , ":" ) +  1  -  (envVar .back () ==  ':' ) -  (envVar .front () ==  ':' );
2827   }
2928
3029   // At most 10 
3130   auto nPaths  =  countSubstring (includePath , "-I" );
32-    if  ((nPaths  -  nEnvVarPaths ) >  10 ){
31+    if  ((nPaths  -  nEnvVarPaths ) >  10 )  {
3332      std ::cerr  << "The number of include paths is too high (>9) "  << nPaths 
3433                << ". The number of \"-I\"s has been counted in the include path of ROOT (gSystem->GetIncludePath()="  << includePath  << ")."  << std ::endl ;
3534      return  nPaths ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments