aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--absl/base/no_destructor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/no_destructor.h b/absl/base/no_destructor.h
index d4b16a6e..ab689133 100644
--- a/absl/base/no_destructor.h
+++ b/absl/base/no_destructor.h
@@ -85,7 +85,7 @@ ABSL_NAMESPACE_BEGIN
// such objects should be const initialized:
//
// // Global or namespace scope.
-// ABSL_CONST_INIT absl::NoDestructor<MyRegistry> reg{"foo", "bar", 8008};
+// constinit absl::NoDestructor<MyRegistry> reg{"foo", "bar", 8008};
//
// Note that if your object already has a trivial destructor, you don't need to
// use NoDestructor<T>.