diff options
-rw-r--r-- | src/util/DynamicFifoBuffer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/DynamicFifoBuffer.hxx b/src/util/DynamicFifoBuffer.hxx index ead7389e9..df50328b4 100644 --- a/src/util/DynamicFifoBuffer.hxx +++ b/src/util/DynamicFifoBuffer.hxx @@ -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() { |