Commits

gyulalaszlo committed df93e5e

formatting changes to array

  • Participants
  • Parent commits f53dae2

Comments (0)

Files changed (1)

 
         template<typename T> void set_capacity( Array<T>& a, uint32_t new_capacity )
         {
-            if ( new_capacity == a._capacity )
-            { return; }
-            if ( new_capacity < a._size )
-            { resize( a, new_capacity ); }
+            if ( new_capacity == a._capacity ) { return; }
+            if ( new_capacity < a._size ) { resize( a, new_capacity ); }
             T* new_data = 0;
             if ( new_capacity > 0 )
             {