Skip to content

Commit

Permalink
Fix compile error when registering new user types with operator()
Browse files Browse the repository at this point in the history
  • Loading branch information
matusfedorko committed Nov 12, 2021
1 parent a7da2a8 commit 9c0a4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sol/bind_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
namespace sol { namespace meta {
namespace meta_detail {
template <typename F>
using detect_deducible_signature = decltype(&F::operator(), void());
using detect_deducible_signature = decltype(&F::operator());
} // namespace meta_detail

template <typename F>
Expand Down

0 comments on commit 9c0a4c3

Please sign in to comment.