From 1e24a19beaa86614da4f181df9c7d062ca9fe96d Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 10 Dec 2016 16:25:09 -0400 Subject: [PATCH] Fix compilation.. --HG-- branch : minor --- src/modules/timer/wrap_Timer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/timer/wrap_Timer.cpp b/src/modules/timer/wrap_Timer.cpp index 09ea4000e..5e7cf7837 100644 --- a/src/modules/timer/wrap_Timer.cpp +++ b/src/modules/timer/wrap_Timer.cpp @@ -23,8 +23,6 @@ // LOVE #include "wrap_Timer.h" -#include "sdl/Timer.h" - namespace love { namespace timer @@ -86,7 +84,7 @@ extern "C" int luaopen_love_timer(lua_State *L) Timer *instance = instance(); if (instance == nullptr) { - luax_catchexcept(L, [&](){ instance = new love::timer::sdl::Timer(); }); + luax_catchexcept(L, [&](){ instance = new love::timer::Timer(); }); } else instance->retain();