From c1a45ebbb0530e3d0201321d725527f1eb83ffce Mon Sep 17 00:00:00 2001 From: "clang-format-7.0.1" Date: Fri, 26 Jul 2019 18:42:24 -0400 Subject: Apply formatting per `clang-format-7.0.1` --- src/mongo/util/dns_name.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/util/dns_name.h') 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. -- cgit v1.2.1