diff --git a/sol/proxy.hpp b/sol/proxy.hpp index e0de3468..bd7a083b 100644 --- a/sol/proxy.hpp +++ b/sol/proxy.hpp @@ -104,26 +104,22 @@ public: template bool operator== ( T&& left, const proxy& right ) { - typedef Decay TDk; - return right.get( ) == left; + return right.get>( ) == left; } template bool operator== ( const proxy& right, T&& left ) { - typedef Decay TDk; - return right.get( ) == left; + return right.get>( ) == left; } template bool operator!= ( T&& left, const proxy& right ) { - typedef Decay TDk; - return right.get( ) != left; + return right.get>( ) != left; } template bool operator!= ( const proxy& right, T&& left ) { - typedef Decay TDk; - return right.get( ) != left; + return right.get>( ) != left; } } // sol \ No newline at end of file