From 4f279c503308a10dea869ed823c6055e67399d14 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 21 Dec 2013 19:44:31 -0500 Subject: [PATCH] Strangely enough, GCC can't handle having `T_` as a typdef. --- sol/proxy.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sol/proxy.hpp b/sol/proxy.hpp index 199cd77f..e0de3468 100644 --- a/sol/proxy.hpp +++ b/sol/proxy.hpp @@ -104,26 +104,26 @@ public: template bool operator== ( T&& left, const proxy& right ) { - typedef Decay T_; - return right.get( ) == left; + typedef Decay TDk; + return right.get( ) == left; } template bool operator== ( const proxy& right, T&& left ) { - typedef Decay T_; - return right.get( ) == left; + typedef Decay TDk; + return right.get( ) == left; } template bool operator!= ( T&& left, const proxy& right ) { - typedef Decay T_; - return right.get( ) != left; + typedef Decay TDk; + return right.get( ) != left; } template bool operator!= ( const proxy& right, T&& left ) { - typedef Decay T_; - return right.get( ) != left; + typedef Decay TDk; + return right.get( ) != left; } } // sol \ No newline at end of file