diff options
Diffstat (limited to '3rdparty/sol2/sol/tie.hpp')
-rw-r--r-- | 3rdparty/sol2/sol/tie.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/sol2/sol/tie.hpp b/3rdparty/sol2/sol/tie.hpp index fc3ec155044..9157ed008d1 100644 --- a/3rdparty/sol2/sol/tie.hpp +++ b/3rdparty/sol2/sol/tie.hpp @@ -60,7 +60,7 @@ namespace sol { void set_extra(std::true_type, std::index_sequence<I...>, T&& target) { using std::get; (void)detail::swallow{ 0, - (get<I>(*this) = get<I>(types<Tn...>(), target), 0)... + (get<I>(static_cast<base_t&>(*this)) = get<I>(types<Tn...>(), target), 0)... , 0 }; } @@ -68,7 +68,7 @@ namespace sol { void set_extra(std::false_type, std::index_sequence<I...>, T&& target) { using std::get; (void)detail::swallow{ 0, - (get<I>(*this) = get<I>(target), 0)... + (get<I>(static_cast<base_t&>(*this)) = get<I>(target), 0)... , 0 }; } |