summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonelement.h
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2016-04-22 14:42:28 -0400
committerGeert Bosch <geert@mongodb.com>2016-04-22 14:58:59 -0400
commit8e13345122986b242811ebee1c0908a4fc01640c (patch)
tree6c0121f0f01e0cf827d3204da4fa912daf726ec3 /src/mongo/bson/bsonelement.h
parentdea2cdd594648d2409bc05f620f7854971d20470 (diff)
downloadmongo-8e13345122986b242811ebee1c0908a4fc01640c.tar.gz
SERVER-1393: Include decimal support under control of server parameter
Diffstat (limited to 'src/mongo/bson/bsonelement.h')
-rw-r--r--src/mongo/bson/bsonelement.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/bson/bsonelement.h b/src/mongo/bson/bsonelement.h
index 5391e622b0e..b3e8c3caf98 100644
--- a/src/mongo/bson/bsonelement.h
+++ b/src/mongo/bson/bsonelement.h
@@ -674,9 +674,7 @@ inline bool BSONElement::isNumber() const {
switch (type()) {
case NumberLong:
case NumberDouble:
-#ifdef MONGO_CONFIG_EXPERIMENTAL_DECIMAL_SUPPORT
case NumberDecimal:
-#endif
case NumberInt:
return true;
default: