Changeset 202
- Timestamp:
- 08/11/13 18:36:52 (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/array2d.hh
r200 r202 38 38 * Creates a new 2D array. 39 39 */ 40 array2d() : m_ size(), m_data( nullptr) {}40 array2d() : m_data( nullptr ), m_size() {} 41 41 42 42 /** … … 45 45 * @param asize The dimensions of the new array. 46 46 */ 47 array2d( const ivec2& asize ) : m_ size(), m_data( nullptr) { resize( asize ); }47 array2d( const ivec2& asize ) : m_data( nullptr ), m_size() { resize( asize ); } 48 48 49 49 /** … … 53 53 * @param asize_y The height of the new array. 54 54 */ 55 array2d( const sint32 asize_x, const sint32 asize_y ) : m_ size(), m_data( nullptr) { resize( new ivec2( asize_x, asize_y ) ); }55 array2d( const sint32 asize_x, const sint32 asize_y ) : m_data( nullptr ), m_size() { resize( new ivec2( asize_x, asize_y ) ); } 56 56 57 57 /**
Note: See TracChangeset
for help on using the changeset viewer.