From faca5a085d096cad4f92d96ff285f4a90c7d82ba Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Thu, 29 Dec 2016 18:28:38 +0300
Subject: Fix compilation with old gcc versions.

---
 src/input/keyboardconfig.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h
index a14afd200..7d32b6299 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -90,8 +90,8 @@ class KeyboardConfig final
 #endif  // USE_SDL2
         }
 
-        constexpr static int getKeyValueFromEvent(const SDL_Event &event)
-                                                  A_WARN_UNUSED
+        constexpr2 static int getKeyValueFromEvent(const SDL_Event &event)
+                                                   A_WARN_UNUSED
         {
 #ifdef USE_SDL2
             return event.key.keysym.scancode;
-- 
cgit v1.2.3-70-g09d2