This commit is contained in:
2025-03-06 08:38:04 +03:00
parent 874c008579
commit a28903f67d

View File

@@ -42,7 +42,7 @@ namespace VE
void connect(event_fn<event> fn) { m_funcs.push_back(fn); }; void connect(event_fn<event> fn) { m_funcs.push_back(fn); };
void emit(event e) void emit(event e)
{ {
for(auto& f : m_funcs) for(auto f : m_funcs)
{ {
try try
{ {