summaryrefslogtreecommitdiff
path: root/src/util/allocator.h
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-07-28 19:11:34 +0200
committeraura <nw@moneybot.cc>2026-07-28 19:11:34 +0200
commit86d248ed2b033fe36ce53b0387b2cbdcb69c0b72 (patch)
treea70f32a0f44b927a6d137998efa405e330689c0f /src/util/allocator.h
parent468813b133a6a3ff0b85d3b34f1009cfeae815e4 (diff)
finish undo/redo
Diffstat (limited to 'src/util/allocator.h')
-rw-r--r--src/util/allocator.h1
1 files changed, 1 insertions, 0 deletions
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;