Update clang-format to disallow single line for-loops
This commit is contained in:
1 parent
ab6c726ebc
commit
988c5552d0
22 files changed
+79
-40
No files matched your search
+2
-1
@@ -68,7 +68,8 @@ namespace y$1::day11
|
||||
std::getline(input, str);
|
||||
std::stringstream ss{str};
|
||||
ss >> "Starting items: ";
|
||||
while (std::getline(ss, str, ',')) monkey.items.emplace_back(std::stoi(str));
|
||||
while (std::getline(ss, str, ','))
|
||||
monkey.items.emplace_back(std::stoi(str));
|
||||
}
|
||||
{ // operator
|
||||
std::getline(input, str);
|
||||
|
||||
Reference in new issue
Block a user