summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher.h')
-rw-r--r--src/mongo/db/matcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher.h b/src/mongo/db/matcher.h
index 7071267c9eb..c5386faa23a 100644
--- a/src/mongo/db/matcher.h
+++ b/src/mongo/db/matcher.h
@@ -102,7 +102,7 @@ namespace mongo {
bool hasLoadedRecord() const { return _loadedRecord; }
bool hasElemMatchKey() const { return _elemMatchKeyFound; }
string elemMatchKey() const {
- assert( hasElemMatchKey() );
+ verify( hasElemMatchKey() );
return _elemMatchKey;
}