summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbmessage.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2022-06-15 21:20:11 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-16 02:21:54 +0000
commit33d893ff83c2873202628e6002a7e35b5b296db8 (patch)
treea14be19387a333d89b587c9a0c406d7ea9b71f8c /src/mongo/db/dbmessage.h
parent86c763b7e96f5c8e990387e29dd63a6c702076b4 (diff)
downloadmongo-33d893ff83c2873202628e6002a7e35b5b296db8.tar.gz
SERVER-66724 Create FLE 2 Equality Match Expression
Diffstat (limited to 'src/mongo/db/dbmessage.h')
-rw-r--r--src/mongo/db/dbmessage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbmessage.h b/src/mongo/db/dbmessage.h
index 1f5472b2272..0b8e8ce84c7 100644
--- a/src/mongo/db/dbmessage.h
+++ b/src/mongo/db/dbmessage.h
@@ -227,7 +227,7 @@ public:
* Indicates whether this message is expected to have a ns.
*/
bool messageShouldHaveNs() const {
- return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete);
+ return static_cast<int>(_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete);
}
/**