Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -12,8 +12,9 @@ bool LoadTreeAsText(std::istream & s, ToDo & toDo)
{
std::string name;
s >> name;
ASSERT ( !name.empty(), ("Error in classificator file") );
if (name == "{}") return false;
ASSERT(!name.empty(), ("Error in classificator file"));
if (name == "{}")
return false;
// set key name
toDo.Name(name);
@@ -41,9 +42,9 @@ bool LoadTreeAsText(std::istream & s, ToDo & toDo)
}
}
ASSERT ( i <= 128, ("too many features at level = ", name) );
ASSERT(i <= 128, ("too many features at level = ", name));
}
return true;
}
}
} // namespace tree