Menu

#429 libs/core/parameters.h:663: bad assert ?

fatal/crash
open
nobody
None
1
2015-04-10
2015-04-10
dcb
No

aqsis-1.8.2/libs/core/parameters.h:663]: (style) Same expression on both sides of '&&'.
assert( pResult1->Type() == this->Type() && pResult1->Type() == this->Type() &&
pResult1->Class() == this->Class() && pResult1->Class() == this->Class() );

Maybe

       assert( pResult1->Type() == this->Type() && pResult1->Type() == this->Type() &&
                pResult2->Class() == this->Class() && pResult2->Class() == this->Class() );

Discussion

Anonymous
Anonymous

Add attachments
Cancel