RecordNumber.h (Firebird-3.0.2.32703-0.tar.bz2) | : | RecordNumber.h (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 310 | skipping to change at line 310 | |||
} | } | |||
bool operator == (const bid& other) const | bool operator == (const bid& other) const | |||
{ | { | |||
// Make sure that compiler packed structure like we wanted | // Make sure that compiler packed structure like we wanted | |||
fb_assert(sizeof(*this) == 8); | fb_assert(sizeof(*this) == 8); | |||
return bid_quad.bid_quad_high == other.bid_quad.bid_quad_high && | return bid_quad.bid_quad_high == other.bid_quad.bid_quad_high && | |||
bid_quad.bid_quad_low == other.bid_quad.bid_quad_low; | bid_quad.bid_quad_low == other.bid_quad.bid_quad_low; | |||
} | } | |||
bool operator > (const bid& other) const | ||||
{ | ||||
return bid_quad.bid_quad_high > other.bid_quad.bid_quad_high || | ||||
(bid_quad.bid_quad_high == other.bid_quad.bid_qua | ||||
d_high && | ||||
bid_quad.bid_quad_low > other.bid_quad.bid_quad_l | ||||
ow); | ||||
} | ||||
}; | }; | |||
} // namespace Jrd | } // namespace Jrd | |||
#endif // JRD_RECORDNUMBER_H | #endif // JRD_RECORDNUMBER_H | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added |