diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-04-03 18:16:29 -0400 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-04-08 12:15:08 -0400 |
commit | 573921791c4d20e0d1603fd0a200d90d74b65bd5 (patch) | |
tree | 9ec3957126fecc636cb31874376f09b6161965ff /src/mongo/db/commands/mr.cpp | |
parent | f8f872e029ba3b1f32d8499c912756d48dc1a03b (diff) | |
download | mongo-573921791c4d20e0d1603fd0a200d90d74b65bd5.tar.gz |
SERVER-40476 remove mongoutils::str::equals
Diffstat (limited to 'src/mongo/db/commands/mr.cpp')
-rw-r--r-- | src/mongo/db/commands/mr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp index 217db0ed3d5..99dacfecbfa 100644 --- a/src/mongo/db/commands/mr.cpp +++ b/src/mongo/db/commands/mr.cpp @@ -558,7 +558,7 @@ void State::prepTempCollection() { BSONObjIterator j(currIndex->infoObj()); while (j.more()) { BSONElement e = j.next(); - if (str::equals(e.fieldName(), "_id") || str::equals(e.fieldName(), "ns")) + if (e.fieldNameStringData() == "_id" || e.fieldNameStringData() == "ns") continue; b.append(e); } |