From 8fa48627c66fb7d4ef1b3b99e9ea69a4c8a074b4 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 20 May 2016 05:25:56 -0400 Subject: [PATCH] awhdwjakdahwd clang++ internal linkage qqqqqqq --- sol/types.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sol/types.hpp b/sol/types.hpp index 24aeb456..e3bf9eba 100644 --- a/sol/types.hpp +++ b/sol/types.hpp @@ -32,12 +32,12 @@ namespace sol { namespace detail { #ifdef SOL_NO_EXCEPTIONS template -inline int static_trampoline (lua_State* L) { +int static_trampoline (lua_State* L) { return f(L); } template -inline int trampoline(lua_State* L, Fx&& f, Args&&... args) { +int trampoline(lua_State* L, Fx&& f, Args&&... args) { return f(L, std::forward(args)...); } @@ -46,7 +46,7 @@ inline int c_trampoline(lua_State* L, lua_CFunction f) { } #else template -inline int static_trampoline (lua_State* L) { +int static_trampoline (lua_State* L) { try { return f(L); } @@ -63,7 +63,7 @@ inline int static_trampoline (lua_State* L) { } template -inline int trampoline(lua_State* L, Fx&& f, Args&&... args) { +int trampoline(lua_State* L, Fx&& f, Args&&... args) { try { return f(L, std::forward(args)...); }