Skip to content

Commit 4d69edb

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 8d1adee + 2ac4e6d commit 4d69edb

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

core/data_buffer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
96100
void DataBuffer::copy(const DataBuffer &p_other) {
97101
metadata_size = p_other.metadata_size;
98102
bit_offset = p_other.bit_offset;

core/data_buffer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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);

core/snapshot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)