diff --git a/include/Window.hpp b/include/Window.hpp index 0628f32..0fabfe4 100644 --- a/include/Window.hpp +++ b/include/Window.hpp @@ -42,9 +42,8 @@ class Window { * Initializes the window. * * @throws raylib::RaylibException Thrown if the window failed to initiate. - * @return True or false, depending on if the Window initialized properly. */ - void Init(int width = 800, int height = 450, const std::string& title = "raylib") { + inline void Init(int width = 800, int height = 450, const std::string& title = "raylib") { ::InitWindow(width, height, title.c_str()); if (!IsWindowReady()) { throw RaylibException("Failed to create Window");