Skip to content

Commit

Permalink
Add missing Abseil inline namespace and fix includes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 686110246
Change-Id: I78be07f1c6795d282c3739c54764b1562fd2523c
  • Loading branch information
rogeeff authored and copybara-github committed Oct 15, 2024
1 parent b92128a commit 202a8f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion absl/strings/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":string_view",
"//absl/base:core_headers",
"//absl/base:config",
],
)

Expand Down
2 changes: 1 addition & 1 deletion absl/strings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ absl_cc_library(
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::core_headers
absl::config
absl::string_view
PUBLIC
)
Expand Down
7 changes: 3 additions & 4 deletions absl/strings/charset.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@
#ifndef ABSL_STRINGS_CHARSET_H_
#define ABSL_STRINGS_CHARSET_H_

#include <cstddef>
#include <cstdint>
#include <cstring>

#include "absl/base/macros.h"
#include "absl/base/port.h"
#include "absl/base/config.h"
#include "absl/strings/string_view.h"

namespace absl {
ABSL_NAMESPACE_BEGIN

class CharSet {
public:
Expand Down Expand Up @@ -159,6 +157,7 @@ class CharSet {
uint64_t m_[4];
};

ABSL_NAMESPACE_END
} // namespace absl

#endif // ABSL_STRINGS_CHARSET_H_

0 comments on commit 202a8f4

Please sign in to comment.