diff options
-rw-r--r-- | absl/cleanup/cleanup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/cleanup/cleanup.h b/absl/cleanup/cleanup.h index 8ebf1e9b..61b53d55 100644 --- a/absl/cleanup/cleanup.h +++ b/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."); |