Fix initialzation order in dynarray

llvm-svn: 248988
This commit is contained in:
Eric Fiselier 2015-10-01 07:29:38 +00:00
parent b4e2e7a292
commit 5c736fe9ab
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public:
private:
size_t __size_;
value_type * __base_;
_LIBCPP_ALWAYS_INLINE dynarray () noexcept : __base_(nullptr), __size_(0) {}
_LIBCPP_ALWAYS_INLINE dynarray () noexcept : __size_(0), __base_(nullptr) {}
static inline _LIBCPP_INLINE_VISIBILITY value_type* __allocate ( size_t count )
{