Skip to content

Commit 6ad90cd

Browse files
committed
Fixed assertion in benchmarks from using Boost queue without initial size
1 parent 85775ec commit 6ad90cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmarks/boostqueue.h

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ struct BoostQueueWrapper
1313
typedef DummyToken consumer_token_t;
1414

1515
public:
16+
BoostQueueWrapper() : q(/* starting capacity */ 16384) { }
17+
1618
template<typename U>
1719
inline bool enqueue(U&& item)
1820
{

0 commit comments

Comments
 (0)