1
0
Fork 0

include/Spectre/System/Event.h: Change "None" to "Unkown" as None is a macro in X11

This commit is contained in:
Henrik Hautakoski 2023-08-22 20:01:46 +02:00
parent cadbbf9d8b
commit 4380f1ed01

View file

@ -14,7 +14,7 @@ struct Event
public :
enum Type {
None,
Unknown,
Quit,
Size,
Key,
@ -56,7 +56,7 @@ public :
struct MouseButtonEvent mouseButton;
};
Event(Type type = None);
Event(Type type = Unknown);
std::string toString() const;