Formatting

This commit is contained in:
2026-09-19 22:40:26 -07:00
parent 0e26ccae98
commit 98b3d4a552
3 changed files with 10 additions and 14 deletions
+5 -4
View File
@@ -2,12 +2,11 @@
#include <any>
#include <functional>
#include <string>
#include <unordered_map>
#include <sophia/types.hpp>
#include <sophia/util/delegate.hpp>
#include <sophia/util/logger.hpp>
#include <string>
#include <unordered_map>
#define BIT(x) (1 << (x))
@@ -116,7 +115,9 @@ class EventSystem {
static_assert(std::is_base_of<Event, E>::value, "E must derive from Event");
EventType eventType = GET_EVENT_TYPE(E);
if (!this->eventDelegates.count(eventType)) { return; }
if (!this->eventDelegates.count(eventType)) {
return;
}
try {
EventDelegate<E>& delegate =
+1 -2
View File
@@ -12,9 +12,8 @@
#pragma once
#include <iostream>
#include <utility>
#include <sophia/types.hpp>
#include <utility>
namespace sophia::log {