Skip to content

Commit 0583f98

Browse files
committed
Fix comparison between mismatching types
1 parent 5e56404 commit 0583f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ class HitSink {
640640
}
641641

642642
batch& operator=(batch& other) {
643-
if (&other != *this) {
643+
if (&other != this) {
644644
batchId = other.batchId;
645645
isWritten = other.isWritten;
646646
other.btString.moveTo(btString);

0 commit comments

Comments
 (0)