util/DynamicFifoBuffer: make constructor "explicit"
This commit is contained in:
parent
9cfd9d7ce0
commit
c44cb3246d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user