summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-05-24 05:35:55 -0400
committerBenety Goh <benety@mongodb.com>2018-05-24 05:35:55 -0400
commit7d4d65716cb95c92bd86f99cd5f9333d664bd780 (patch)
treed9ded4c353f5891615470055938350e9674a4342
parentbad5afd612e8fc917fb035d8333cffd7d68a37cc (diff)
downloadmongo-7d4d65716cb95c92bd86f99cd5f9333d664bd780.tar.gz
SERVER-35077 fix lint
-rw-r--r--src/mongo/util/procparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/procparser.cpp b/src/mongo/util/procparser.cpp
index 755be41cb83..259cd469506 100644
--- a/src/mongo/util/procparser.cpp
+++ b/src/mongo/util/procparser.cpp
@@ -478,7 +478,8 @@ Status parseProcNetstat(const std::vector<StringData>& keys,
StringData stringValue((*valuesIt).begin(), (*valuesIt).end());
uint64_t value;
if (parseNumberFromString(stringValue, &value).isOK()) {
- builder->appendNumber(prefix.toString() + key.toString(), static_cast<long long>(value));
+ builder->appendNumber(prefix.toString() + key.toString(),
+ static_cast<long long>(value));
foundKeys = true;
}
}