Coding style adaptations

This commit is contained in:
Alexander Bock
2022-04-10 23:25:37 +02:00
parent dc9ffaa0e7
commit c206da4a98
64 changed files with 944 additions and 853 deletions
+6 -2
View File
@@ -696,7 +696,9 @@ std::vector<std::string> HorizonsFile::parseMatches(const std::string& startPhra
matches.push_back(line);
break;
}
else if (!altStartPhrase.empty() && line.find(altStartPhrase) != std::string::npos) {
else if (!altStartPhrase.empty() &&
line.find(altStartPhrase) != std::string::npos)
{
matches.push_back(line);
break;
}
@@ -778,7 +780,9 @@ std::pair<std::string, std::string> HorizonsFile::parseValidTimeRange(
if (line.find(startPhrase) != std::string::npos) {
break;
}
else if (!altStartPhrase.empty() && line.find(altStartPhrase) != std::string::npos) {
else if (!altStartPhrase.empty() &&
line.find(altStartPhrase) != std::string::npos)
{
break;
}