diff options
author | Andreas Nilsson <andreas.nilsson@mongodb.com> | 2016-07-08 11:49:51 -0400 |
---|---|---|
committer | Andreas Nilsson <andreas.nilsson@mongodb.com> | 2016-07-08 16:03:13 -0400 |
commit | b5d6a7c61c1ecdaf9d577ca75942d82363e0552c (patch) | |
tree | 2f6451298e6bb8fd0ce4a9a6dca663d87df5a46c /src/mongo/db/curop.cpp | |
parent | 33c199e50fc96251c1477ca8e9f92168feddbc88 (diff) | |
download | mongo-b5d6a7c61c1ecdaf9d577ca75942d82363e0552c.tar.gz |
SERVER-24840 - Remove unnecessary parameters to BSONObj::toString
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r-- | src/mongo/db/curop.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp index c76ba86105a..5c4e4ce118e 100644 --- a/src/mongo/db/curop.cpp +++ b/src/mongo/db/curop.cpp @@ -311,9 +311,7 @@ void appendAsObjOrString(StringData name, } else { // Generate an abbreviated serialization for the object, by passing false as the // "full" argument to obj.toString(). - const bool isArray = false; - const bool full = false; - std::string objToString = obj.toString(isArray, full); + std::string objToString = obj.toString(); if (objToString.size() <= maxSize) { builder->append(name, objToString); } else { |