From 2119e40e17b56e38d077279fa7480b04d769d01d Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 28 Jun 2023 13:34:32 -0700 Subject: Roll forward of CCTZ update; fixed by clang release. PiperOrigin-RevId: 544146637 Change-Id: I5ca44465f451956ae246081ce826891599b18b9c --- absl/time/internal/cctz/src/time_zone_impl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'absl/time/internal/cctz/src/time_zone_impl.h') diff --git a/absl/time/internal/cctz/src/time_zone_impl.h b/absl/time/internal/cctz/src/time_zone_impl.h index 7d747ba9..8308a3b4 100644 --- a/absl/time/internal/cctz/src/time_zone_impl.h +++ b/absl/time/internal/cctz/src/time_zone_impl.h @@ -78,7 +78,11 @@ class time_zone::Impl { std::string Description() const { return zone_->Description(); } private: + Impl(); explicit Impl(const std::string& name); + Impl(const Impl&) = delete; + Impl& operator=(const Impl&) = delete; + static const Impl* UTCImpl(); const std::string name_; -- cgit v1.2.3