Fix bug causing vector removal to skip elements

This commit is contained in:
Alex
2023-04-20 03:24:23 +03:00
parent ad1bcdab47
commit 0eb8ba0f69
8 changed files with 16 additions and 12 deletions

View File

@ -145,10 +145,5 @@ namespace Tasking
}
Security::Security() {}
Security::~Security()
{
for (size_t i = 0; i < Tokens.size(); i++)
Tokens.remove(i);
}
Security::~Security() { Tokens.clear(); }
}