diff options
Diffstat (limited to 'src/mongo/db/pipeline/value.h')
-rw-r--r-- | src/mongo/db/pipeline/value.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/value.h b/src/mongo/db/pipeline/value.h index c6d4b90c0cd..5ac5c61180b 100644 --- a/src/mongo/db/pipeline/value.h +++ b/src/mongo/db/pipeline/value.h @@ -119,11 +119,9 @@ public: } /// true if type represents a number - // TODO: Add _storage.type == NumberDecimal - // SERVER-19735 bool numeric() const { return _storage.type == NumberDouble || _storage.type == NumberLong || - _storage.type == NumberInt; + _storage.type == NumberInt || _storage.type == NumberDecimal; } /** |