fix genclass template
authorMichael Andres <ma@suse.de>
Thu, 16 Dec 2010 13:27:54 +0000 (14:27 +0100)
committerMichael Andres <ma@suse.de>
Thu, 16 Dec 2010 13:27:54 +0000 (14:27 +0100)
devel/genclass.in

index 4a49eb2..a917a07 100644 (file)
@@ -211,7 +211,7 @@ ${INDENT}std::ostream & operator<<( std::ostream & str, const ${CLASS} & obj )
 ${INDENT}{ return str << *obj._pimpl; }
 
 ${INDENT}bool operator==( const ${CLASS} & lhs, const ${CLASS} & rhs )
-${INDENT}{ return lhs._pimpl == rhs_pimpl || lhs._pimpl && rhs_pimpl && *lhs._pimpl == *rhs_pimpl; }
+${INDENT}{ return lhs._pimpl == rhs._pimpl || lhs._pimpl && rhs._pimpl && *lhs._pimpl == *rhs._pimpl; }
 
 $(nsclose)
 EOF