From 86d248ed2b033fe36ce53b0387b2cbdcb69c0b72 Mon Sep 17 00:00:00 2001 From: aura Date: Tue, 28 Jul 2026 19:11:34 +0200 Subject: finish undo/redo --- src/util/allocator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util/allocator.h') diff --git a/src/util/allocator.h b/src/util/allocator.h index 3cee282..63fc94a 100644 --- a/src/util/allocator.h +++ b/src/util/allocator.h @@ -206,6 +206,7 @@ struct LIST { return &data[size - 1]; } + // does not call copy funcs or constructors template < typename ... IT > void emplace( const T& item, IT&& ... items ) { constexpr U32 nsize = sizeof...( IT ) + 1; -- cgit v1.2.3