File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ bool DataBuffer::operator==(const DataBuffer &p_other) const {
9393 }
9494}
9595
96+ bool DataBuffer::operator !=(const DataBuffer &p_other) const {
97+ return !operator ==(p_other);
98+ }
99+
96100void DataBuffer::copy (const DataBuffer &p_other) {
97101 metadata_size = p_other.metadata_size ;
98102 bit_offset = p_other.bit_offset ;
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ class DataBuffer {
135135
136136 // DataBuffer &operator=(DataBuffer &&p_other);
137137 bool operator ==(const DataBuffer &p_other) const ;
138+ bool operator !=(const DataBuffer &p_other) const ;
138139
139140 void copy (const DataBuffer &p_other);
140141 void copy (const BitArray &p_buffer);
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ struct ScheduledProcedureSnapshot {
6262 }
6363
6464 bool operator !=(const ScheduledProcedureSnapshot &p_other) const {
65- return !(* this == p_other);
65+ return !operator ==( p_other);
6666 }
6767
6868 operator std::string () const {
You can’t perform that action at this time.
0 commit comments