Author: ericwf
Date: Thu Oct  1 02:29:38 2015
New Revision: 248988

URL: http://llvm.org/viewvc/llvm-project?rev=248988&view=rev
Log:
Fix initialzation order in dynarray

Modified:
    libcxx/trunk/include/experimental/dynarray

Modified: libcxx/trunk/include/experimental/dynarray
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/experimental/dynarray?rev=248988&r1=248987&r2=248988&view=diff
==============================================================================
--- libcxx/trunk/include/experimental/dynarray (original)
+++ libcxx/trunk/include/experimental/dynarray Thu Oct  1 02:29:38 2015
@@ -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 )
     {


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to