mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-02 14:30:10 +00:00
Remove unused size argument from Array's ctor.
This commit is contained in:
parent
434e83a192
commit
886ad20a9d
3
format.h
3
format.h
@ -271,8 +271,7 @@ class Array {
|
|||||||
FMT_DISALLOW_COPY_AND_ASSIGN(Array);
|
FMT_DISALLOW_COPY_AND_ASSIGN(Array);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Array(std::size_t size = 0)
|
explicit Array() : size_(0), capacity_(SIZE), ptr_(data_) {}
|
||||||
: size_(size), capacity_(SIZE), ptr_(data_) {}
|
|
||||||
~Array() { free(); }
|
~Array() { free(); }
|
||||||
|
|
||||||
#if FMT_USE_RVALUE_REFERENCES
|
#if FMT_USE_RVALUE_REFERENCES
|
||||||
|
Loading…
Reference in New Issue
Block a user