summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2023-11-08 09:57:56 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-11-08 09:59:07 -0800
commit8c488c44d893e23b043fa081a4e213a3b9441433 (patch)
tree8592e6d589b11806eee424be8db34b1707a59734 /CMake
parent2f77684e8dc473a48dbc19167ffe69c40ce8ada4 (diff)
Add absl::NoDestructor<T>
absl::NoDestructor<T> wraps an existing type and is used for defining a static type that does not need to be destructed upon program exit. Instead, such an object survives during program exit, and can be safely accessed at any time after construction. PiperOrigin-RevId: 580566259 Change-Id: I2cbb4cd9f6b50b98a793acd2ef0a4befd541f17f
Diffstat (limited to 'CMake')
-rw-r--r--CMake/AbseilDll.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/AbseilDll.cmake b/CMake/AbseilDll.cmake
index 1177d5d0..19272795 100644
--- a/CMake/AbseilDll.cmake
+++ b/CMake/AbseilDll.cmake
@@ -55,6 +55,7 @@ set(ABSL_INTERNAL_DLL_FILES
"base/log_severity.cc"
"base/log_severity.h"
"base/macros.h"
+ "base/no_destructor.h"
"base/nullability.h"
"base/optimization.h"
"base/options.h"