Fixed clear function in blocked queue (#199)

master
David Rupprecht 7 years ago committed by Andre Puschmann
parent da387b6930
commit bf4c84ef7b

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

Loading…
Cancel
Save