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 authored and ThePhD committed Jun 24, 2022
1 parent de0e9de commit 13b7e8a
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 13b7e8a

Please sign in to comment.