Export of internal Abseil changes

--
32b444c0540e8255cc216171aba57639903edc22 by CJ Johnson <johnsoncj@google.com>:

Add missing `final` to `absl::Cleanup` since it is not an interface type and should never be used as a base class.

PiperOrigin-RevId: 359045692
GitOrigin-RevId: 32b444c0540e8255cc216171aba57639903edc22
Change-Id: I4f72714cd6f2e101709f31958af28b358f15646b
pull/915/head
Abseil Team 4 years ago committed by vslashg
parent a50ae369a3
commit 998805a4c7
  1. 2
      absl/cleanup/cleanup.h

@ -78,7 +78,7 @@ namespace absl {
ABSL_NAMESPACE_BEGIN
template <typename Arg, typename Callback = void()>
class ABSL_MUST_USE_RESULT Cleanup {
class ABSL_MUST_USE_RESULT Cleanup final {
static_assert(cleanup_internal::WasDeduced<Arg>(),
"Explicit template parameters are not supported.");

Loading…
Cancel
Save