From 886ad20a9de55fbbc98a204cac3785b327a01769 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 12 Sep 2014 17:20:36 -0700 Subject: [PATCH] Remove unused size argument from Array's ctor. --- format.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/format.h b/format.h index d533dc3a..ae3e08a0 100644 --- a/format.h +++ b/format.h @@ -271,8 +271,7 @@ class Array { FMT_DISALLOW_COPY_AND_ASSIGN(Array); public: - explicit Array(std::size_t size = 0) - : size_(size), capacity_(SIZE), ptr_(data_) {} + explicit Array() : size_(0), capacity_(SIZE), ptr_(data_) {} ~Array() { free(); } #if FMT_USE_RVALUE_REFERENCES