summaryrefslogtreecommitdiff
path: root/absl/base/const_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base/const_init.h')
-rw-r--r--absl/base/const_init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/base/const_init.h b/absl/base/const_init.h
index 17858a77..16520b61 100644
--- a/absl/base/const_init.h
+++ b/absl/base/const_init.h
@@ -22,6 +22,8 @@
#ifndef ABSL_BASE_CONST_INIT_H_
#define ABSL_BASE_CONST_INIT_H_
+#include "absl/base/config.h"
+
// In general, objects with static storage duration (such as global variables)
// can trigger tricky object lifetime situations. Attempting to access them
// from the constructors or destructors of other global objects can result in
@@ -62,11 +64,13 @@
// or thread_local storage duration.
namespace absl {
+ABSL_NAMESPACE_BEGIN
enum ConstInitType {
kConstInit,
};
+ABSL_NAMESPACE_END
} // namespace absl
#endif // ABSL_BASE_CONST_INIT_H_