Commit c44cb324 authored by Max Kellermann's avatar Max Kellermann

util/DynamicFifoBuffer: make constructor "explicit"

parent 9cfd9d7c
......@@ -57,7 +57,7 @@ protected:
T *data;
public:
DynamicFifoBuffer(size_type _capacity)
explicit DynamicFifoBuffer(size_type _capacity)
:head(0), tail(0), capacity(_capacity),
data(new T[capacity]) {}
~DynamicFifoBuffer() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment