diff --git a/include/tolua++.h b/include/tolua++.h index f57d56d21..cd21db4e5 100644 --- a/include/tolua++.h +++ b/include/tolua++.h @@ -140,13 +140,13 @@ static inline const char* tolua_tocppstring (lua_State* L, int narg, const char* const char* s = tolua_tostring(L, narg, def); return s?s:""; -}; +} static inline const char* tolua_tofieldcppstring (lua_State* L, int lo, int index, const char* def) { const char* s = tolua_tofieldstring(L, lo, index, def); return s?s:""; -}; +} #else #define tolua_tocppstring tolua_tostring