Skip to content

Commit ec6ae3c

Browse files
Apply formatting suggestions from clang-format
1 parent d5f9bb5 commit ec6ae3c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

roottest/root/meta/countIncludePaths.C

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)