Commit 202a8f40 by Gennadiy Rozental Committed by Copybara-Service

Add missing Abseil inline namespace and fix includes

PiperOrigin-RevId: 686110246
Change-Id: I78be07f1c6795d282c3739c54764b1562fd2523c
parent b92128a4
...@@ -392,7 +392,7 @@ cc_library( ...@@ -392,7 +392,7 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":string_view", ":string_view",
"//absl/base:core_headers", "//absl/base:config",
], ],
) )
......
...@@ -100,7 +100,7 @@ absl_cc_library( ...@@ -100,7 +100,7 @@ absl_cc_library(
COPTS COPTS
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
DEPS DEPS
absl::core_headers absl::config
absl::string_view absl::string_view
PUBLIC PUBLIC
) )
......
...@@ -46,15 +46,13 @@ ...@@ -46,15 +46,13 @@
#ifndef ABSL_STRINGS_CHARSET_H_ #ifndef ABSL_STRINGS_CHARSET_H_
#define ABSL_STRINGS_CHARSET_H_ #define ABSL_STRINGS_CHARSET_H_
#include <cstddef>
#include <cstdint> #include <cstdint>
#include <cstring>
#include "absl/base/macros.h" #include "absl/base/config.h"
#include "absl/base/port.h"
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"
namespace absl { namespace absl {
ABSL_NAMESPACE_BEGIN
class CharSet { class CharSet {
public: public:
...@@ -159,6 +157,7 @@ class CharSet { ...@@ -159,6 +157,7 @@ class CharSet {
uint64_t m_[4]; uint64_t m_[4];
}; };
ABSL_NAMESPACE_END
} // namespace absl } // namespace absl
#endif // ABSL_STRINGS_CHARSET_H_ #endif // ABSL_STRINGS_CHARSET_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment