commit 7b537c112cf4f061b6e6cfc6e6d91775ced2a303
parent 9110cc6adc765b7b89d8aa67f6137865be638c4c
Author: Michael Savage <mikejsavage@gmail.com>
Date: Wed, 25 Oct 2017 00:04:51 +0300
Whoops
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memory_arena.h b/memory_arena.h
@@ -39,7 +39,7 @@ array< T > alloc_array( MemoryArena * arena, size_t n, uptr alignment = alignof(
}
template< typename T >
-array< T > alloc_array2d( MemoryArena * arena, size_t w, size_t h, uptr alignment = alignof( T ) ) {
+array2d< T > alloc_array2d( MemoryArena * arena, size_t w, size_t h, uptr alignment = alignof( T ) ) {
return array2d< T >( ( T * ) memarena_push_size( arena, sizeof( T ) * w * h, alignment ), w, h );
}