From cfda1d34bad10fe8696326674f06e3a0c99a5c05 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 21 Dec 2013 19:51:48 -0500 Subject: [PATCH] Trying to guess what GCC wants in this case is baffling... --- sol/proxy.hpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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