summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2012-02-12 16:36:15 -0800
committerAaron <aaron@10gen.com>2012-02-12 16:46:50 -0800
commit56d69364400d4305413dc4bb63de9180116ef51a (patch)
tree2300f37608d1cf94416f6cca7e0ecb910cbc5577 /src
parentdf70f029d76c23936be2e249eeb70bf6f61c5679 (diff)
downloadmongo-56d69364400d4305413dc4bb63de9180116ef51a.tar.gz
use str::equals
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/ops/update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/update.cpp b/src/mongo/db/ops/update.cpp
index 60debf56ce5..8c621c1133f 100644
--- a/src/mongo/db/ops/update.cpp
+++ b/src/mongo/db/ops/update.cpp
@@ -630,7 +630,7 @@ namespace mongo {
!a.eoo() &&
!b.eoo() &&
( a.rawdata() != b.rawdata() ) &&
- ( a.fieldName() == string( b.fieldName() ) );
+ str::equals( a.fieldName(), b.fieldName() );
}
template< class Builder >