summaryrefslogtreecommitdiff
path: root/src/mongo/util/dns_name.h
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:42:24 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-26 18:42:24 -0400
commitc1a45ebbb0530e3d0201321d725527f1eb83ffce (patch)
treef523079dc5ded3052eefbdcaae424b7502df5b25 /src/mongo/util/dns_name.h
parentc9599d8610c3da0b7c3da65667aff821063cf5b9 (diff)
downloadmongo-c1a45ebbb0530e3d0201321d725527f1eb83ffce.tar.gz
Apply formatting per `clang-format-7.0.1`
Diffstat (limited to 'src/mongo/util/dns_name.h')
-rw-r--r--src/mongo/util/dns_name.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/dns_name.h b/src/mongo/util/dns_name.h
index 023bee10516..8b913cadd21 100644
--- a/src/mongo/util/dns_name.h
+++ b/src/mongo/util/dns_name.h
@@ -402,7 +402,7 @@ private:
void streamCore(StreamLike& os) const {
std::for_each(rbegin(_nameComponents),
rend(_nameComponents),
- [ first = true, &os ](const auto& component) mutable {
+ [first = true, &os](const auto& component) mutable {
if (!first)
os << '.';
first = false;
@@ -439,7 +439,7 @@ private:
// FQDNs and Relative Names are discriminated by this field.
Qualification fullyQualified;
};
-} // detail_dns_host_name
+} // namespace detail_dns_host_name
// The `operator==` function has to be defined out-of-line, because it uses `make_equality_lens`
// which is an auto-deduced return type function defined later in the class body.