diff options
author | 2023-06-28 13:34:32 -0700 | |
---|---|---|
committer | 2023-06-28 13:35:17 -0700 | |
commit | 2119e40e17b56e38d077279fa7480b04d769d01d (patch) | |
tree | 8b2f0361dff2f703c5788fcdda2c30fd7079399e /absl/time/internal/cctz/src/time_zone_impl.h | |
parent | bba65bd11506292aad0258ab516fe9eabf507e18 (diff) |
Roll forward of CCTZ update; fixed by clang release.
PiperOrigin-RevId: 544146637
Change-Id: I5ca44465f451956ae246081ce826891599b18b9c
Diffstat (limited to 'absl/time/internal/cctz/src/time_zone_impl.h')
-rw-r--r-- | absl/time/internal/cctz/src/time_zone_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_; |