diff --git a/src/Color.h b/src/Color.h index 3d75e99..b01a9c6 100644 --- a/src/Color.h +++ b/src/Color.h @@ -19,7 +19,7 @@ public: }; -const Color black = Color(0, 0, 0); -const Color white = Color(255, 255, 255); +const static Color black = Color(0, 0, 0); +const static Color white = Color(255, 255, 255); #endif diff --git a/src/KeyCode.h b/src/KeyCode.h index 65ab74d..a59a5cd 100644 --- a/src/KeyCode.h +++ b/src/KeyCode.h @@ -9,7 +9,7 @@ public: int getValue(); }; -const KeyCode Backspace = KeyCode(8); -const KeyCode tabulator = KeyCode(9); +const static KeyCode Backspace = KeyCode(8); +const static KeyCode tabulator = KeyCode(9); #endif