mirror of https://github.com/PentHertz/srsLTE.git
Fixed clear function in blocked queue (#199)
This commit is contained in:
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…
Reference in New Issue