clang keeps complaining about overload issues...

This commit is contained in:
ThePhD 2017-08-11 10:36:11 -04:00
parent 4f7f1af515
commit 5e109c2c37
3 changed files with 4 additions and 5 deletions

View File

@ -264,4 +264,3 @@ matrix:
allow_failures: allow_failures:
- os: osx - os: osx
compiler: gcc clang

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2017-08-11 14:21:00.571402 UTC // Generated 2017-08-11 14:35:51.568053 UTC
// This header was generated with sol v2.18.0 (revision 644a5c5) // This header was generated with sol v2.18.0 (revision 4f7f1af)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -14112,7 +14112,7 @@ namespace sol {
template <typename T, typename Op, typename Supports, typename Regs, meta::enable<Supports> = meta::enabler> template <typename T, typename Op, typename Supports, typename Regs, meta::enable<Supports> = meta::enabler>
inline void make_reg_op(Regs& l, int& index, const char* name) { inline void make_reg_op(Regs& l, int& index, const char* name) {
lua_CFunction f = &detail::static_trampoline<&operator_wrap<T, Op>>; lua_CFunction f = &operator_wrap<T, Op>;
l[index] = luaL_Reg{ name, f }; l[index] = luaL_Reg{ name, f };
++index; ++index;
} }

View File

@ -432,7 +432,7 @@ namespace sol {
template <typename T, typename Op, typename Supports, typename Regs, meta::enable<Supports> = meta::enabler> template <typename T, typename Op, typename Supports, typename Regs, meta::enable<Supports> = meta::enabler>
inline void make_reg_op(Regs& l, int& index, const char* name) { inline void make_reg_op(Regs& l, int& index, const char* name) {
lua_CFunction f = &detail::static_trampoline<&operator_wrap<T, Op>>; lua_CFunction f = &operator_wrap<T, Op>;
l[index] = luaL_Reg{ name, f }; l[index] = luaL_Reg{ name, f };
++index; ++index;
} }