Fixed clear function in blocked queue (#199)

This commit is contained in:
David Rupprecht 2018-07-25 09:54:22 +02:00 committed by Andre Puschmann
parent da387b6930
commit bf4c84ef7b
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ public:
}
void clear() { // remove all items
myobj item;
myobj *item = NULL;
while (try_pop(item));
}