Replaced all tabs with 4 spaces

This commit is contained in:
WolverinDEV
2020-01-24 02:49:59 +01:00
parent 735e427376
commit b85c51951c
84 changed files with 9824 additions and 9824 deletions
+19 -19
View File
@@ -4,26 +4,26 @@
using namespace std;
int main() {
deque entries = {
linked::create_entry(0, 1, 0),
linked::create_entry(0, 2, 1),
linked::create_entry(0, 3, 3),
linked::create_entry(0, 4, 5),
linked::create_entry(0, 5, 3),
};
deque entries = {
linked::create_entry(0, 1, 0),
linked::create_entry(0, 2, 1),
linked::create_entry(0, 3, 3),
linked::create_entry(0, 4, 5),
linked::create_entry(0, 5, 3),
};
deque<string> errors;
auto head = linked::build_chain(entries, errors);
if(!errors.empty()) {
cout << "got " << errors.size() << " errors" << endl;
for(const auto& error : errors)
cout << " " << error << endl;
}
deque<string> errors;
auto head = linked::build_chain(entries, errors);
if(!errors.empty()) {
cout << "got " << errors.size() << " errors" << endl;
for(const auto& error : errors)
cout << " " << error << endl;
}
while(head) {
cout << " => " << head->entry_id << endl;
head = head->next;
}
while(head) {
cout << " => " << head->entry_id << endl;
head = head->next;
}
return 0;
return 0;
}