Formatting
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -12,9 +12,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <utility>
|
||||
|
||||
#include <sophia/types.hpp>
|
||||
#include <utility>
|
||||
|
||||
namespace sophia::log {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user