From ed341e00aa15355f0d67130896948db3c3b99e41 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Thu, 14 Sep 2017 00:46:38 -0400 Subject: [PATCH] clang error on some proxy stuff --- single/sol/sol.hpp | 8 ++++---- sol/proxy.hpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index f85cc9d1..a9c2d49d 100644 --- a/single/sol/sol.hpp +++ b/single/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 2017-09-14 04:35:07.305798 UTC -// This header was generated with sol v2.18.3 (revision 72143a4) +// Generated 2017-09-14 04:46:07.441029 UTC +// This header was generated with sol v2.18.3 (revision d3620c9) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -12973,14 +12973,14 @@ namespace sol { template template basic_reference& basic_reference::operator=(proxy_base&& r) { - *this = r.template operator basic_reference(); + this->operator=(r.operator basic_reference()); return *this; } template template basic_reference& basic_reference::operator=(const proxy_base& r) { - *this = r.template operator basic_reference(); + this->operator=(r.operator basic_reference()); return *this; } diff --git a/sol/proxy.hpp b/sol/proxy.hpp index 91905c2a..0f4f7884 100644 --- a/sol/proxy.hpp +++ b/sol/proxy.hpp @@ -197,14 +197,14 @@ namespace sol { template template basic_reference& basic_reference::operator=(proxy_base&& r) { - *this = r.template operator basic_reference(); + this->operator=(r.operator basic_reference()); return *this; } template template basic_reference& basic_reference::operator=(const proxy_base& r) { - *this = r.template operator basic_reference(); + this->operator=(r.operator basic_reference()); return *this; }