diff options
author | Gennadiy Rozental <rogeeff@google.com> | 2023-06-27 17:22:39 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-06-27 17:24:09 -0700 |
commit | d65595c8dd994b47b7fdfdf9427bb546c577467b (patch) | |
tree | b28691c7a8d04c6236dfe9f1b17bf6ac3ca85310 /absl/time/internal/cctz/src/time_zone_impl.h | |
parent | e6c09ae4b2acd421a29706f86e66eaa422262ad0 (diff) |
Import of CCTZ from GitHub.
PiperOrigin-RevId: 543896343
Change-Id: Ia91b3e082b764b750bbbe9a3ce63192263d51438
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_; |