Fix compilation..

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-12-10 16:25:09 -04:00
parent d7feb20df9
commit 1e24a19bea
+1 -3
View File
@@ -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();