summaryrefslogtreecommitdiff
path: root/src/mongo/util/safe_num.cpp
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2014-06-06 12:03:42 -0400
committerMatt Kangas <matt.kangas@mongodb.com>2014-06-09 23:43:00 -0400
commita98f839cf93baba5e424c427f4ed73395e7c3c1e (patch)
tree06ee775f5baad4c37bd72bd831d1f1061dba63f3 /src/mongo/util/safe_num.cpp
parentfceab66c30c64d5c9de1454c2c412445ef8b0362 (diff)
downloadmongo-a98f839cf93baba5e424c427f4ed73395e7c3c1e.tar.gz
SERVER-9634 typo fixes
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Diffstat (limited to 'src/mongo/util/safe_num.cpp')
-rw-r--r--src/mongo/util/safe_num.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/safe_num.cpp b/src/mongo/util/safe_num.cpp
index 0b5211a2082..7f683a58ce3 100644
--- a/src/mongo/util/safe_num.cpp
+++ b/src/mongo/util/safe_num.cpp
@@ -107,7 +107,7 @@ namespace mongo {
return _value.doubleVal == rhs._value.doubleVal;
}
- // If we're mixing integers and doubles, we should be carefull. Some integers are
+ // If we're mixing integers and doubles, we should be careful. Some integers are
// too big to be accuratelly represented in a double. If we're within a safe range
// we compare both sides as doubles.
const double lhsDouble = getDouble(*this);