From c6217d8b43b6ddf360485f9ba3b731a783482eaa Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 12 Jun 2018 06:45:25 +0100 Subject: Making function `const` --- yage/core/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yage/core/window.h') diff --git a/yage/core/window.h b/yage/core/window.h index 2ffafba8..6b0e7fed 100644 --- a/yage/core/window.h +++ b/yage/core/window.h @@ -56,7 +56,7 @@ public: bool shouldClose(); void pollEvents() const; - bool keyPressed(key k); + bool keyPressed(key k) const; }; } // namespace yage -- cgit