Fixed VC++ warning

This commit is contained in:
Phil Nash 2011-03-21 18:00:19 +00:00
parent e9e6b90219
commit 43c11398e7

View File

@ -406,7 +406,7 @@ public:
MutableResultInfo& result, MutableResultInfo& result,
const LhsT* lhs const LhsT* lhs
) )
: m_result( result ), : m_result( &result ),
m_lhs( lhs ) m_lhs( lhs )
{} {}
@ -417,7 +417,7 @@ public:
const RhsT* rhs const RhsT* rhs
) )
{ {
return m_result.captureExpression<Internal::IsEqualTo>( m_lhs, rhs ); return m_result->captureExpression<Internal::IsEqualTo>( m_lhs, rhs );
} }
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
@ -427,7 +427,7 @@ public:
LhsT* rhs LhsT* rhs
) )
{ {
return m_result.captureExpression<Internal::IsEqualTo>( m_lhs, rhs ); return m_result->captureExpression<Internal::IsEqualTo>( m_lhs, rhs );
} }
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
@ -437,7 +437,7 @@ public:
const RhsT* rhs const RhsT* rhs
) )
{ {
return m_result.captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs ); return m_result->captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs );
} }
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
@ -447,11 +447,11 @@ public:
LhsT* rhs LhsT* rhs
) )
{ {
return m_result.captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs ); return m_result->captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs );
} }
private: private:
MutableResultInfo& m_result; MutableResultInfo* m_result;
const LhsT* m_lhs; const LhsT* m_lhs;
}; };