diff --git a/include/sol/traits.hpp b/include/sol/traits.hpp index ca6a841b..b47fdc94 100644 --- a/include/sol/traits.hpp +++ b/include/sol/traits.hpp @@ -283,7 +283,7 @@ namespace sol { std::enable_if_t>::value && std::is_class>::value && std::is_destructible>::value>> { struct F { - void operator()(); + void operator()() {}; }; struct Derived : T, F {}; template @@ -303,7 +303,7 @@ namespace sol { std::enable_if_t>::value && std::is_class>::value && !std::is_destructible>::value>> { struct F { - void operator()(); + void operator()() {}; }; struct Derived : T, F { ~Derived() = delete; diff --git a/single/include/sol/forward.hpp b/single/include/sol/forward.hpp index 115533c6..cd84123a 100644 --- a/single/include/sol/forward.hpp +++ b/single/include/sol/forward.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2019-07-05 02:52:15.860848 UTC -// This header was generated with sol v3.0.3 (revision fd4ba95) +// Generated 2019-07-26 02:13:25.323566 UTC +// This header was generated with sol v3.0.3 (revision eb5c442) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP diff --git a/single/include/sol/sol.hpp b/single/include/sol/sol.hpp index 1a0c7c2a..9c6d36cb 100644 --- a/single/include/sol/sol.hpp +++ b/single/include/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2019-07-05 02:52:13.070165 UTC -// This header was generated with sol v3.0.3 (revision fd4ba95) +// Generated 2019-07-26 02:13:25.052030 UTC +// This header was generated with sol v3.0.3 (revision eb5c442) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -1653,7 +1653,7 @@ namespace sol { std::enable_if_t>::value && std::is_class>::value && std::is_destructible>::value>> { struct F { - void operator()(); + void operator()() {}; }; struct Derived : T, F {}; template @@ -1673,7 +1673,7 @@ namespace sol { std::enable_if_t>::value && std::is_class>::value && !std::is_destructible>::value>> { struct F { - void operator()(); + void operator()() {}; }; struct Derived : T, F { ~Derived() = delete;