1
This commit is contained in:
2022-07-21 02:48:57 +02:00
parent 498990559c
commit b198e623e4

View File

@ -38,7 +38,7 @@ void VectorDemo::run() {
kout << "Removing all elements from the back" << endl;
for (unsigned int i = 0; i < 10; ++i) {
list.erase(--list.end());
list.erase(list.end() - 1);
}
print(list);