summaryrefslogtreecommitdiffstats
path: root/include/wrapsdl2.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/wrapsdl2.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wrapsdl2.hpp b/include/wrapsdl2.hpp
index 847ed99..2f28890 100644
--- a/include/wrapsdl2.hpp
+++ b/include/wrapsdl2.hpp
@@ -9,11 +9,11 @@ namespace wrapsdl2 {
void quit(void);
namespace util {
- constexpr bool sdl_bool(SDL_bool b) {
+ constexpr inline bool sdl_bool(SDL_bool b) {
return b == SDL_TRUE;
}
- constexpr SDL_bool sdl_bool(bool b) {
+ constexpr inline SDL_bool sdl_bool(bool b) {
return (b) ? SDL_TRUE : SDL_FALSE;
}
}