Skip to content

Commit

Permalink
Merge branch 'main' into Docs-7-Fixing-links
Browse files Browse the repository at this point in the history
  • Loading branch information
AdarshRawat1 committed Mar 27, 2024
2 parents 6e21ce2 + 280d145 commit 8ec8f23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ cc_library(
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/container:inlined_vector",
"@com_google_absl//absl/strings",
"@com_google_protobuf//:protobuf",
],
)
Expand Down
2 changes: 1 addition & 1 deletion lib/stringref.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static inline void *memrchr(const char *s, int c, size_t n) {
* to be used with care. StringRefs should in general have short lifetimes, and not be
* stored in other long-lived objects. */

[[deprecated("Use std::string_view instead")]] struct StringRef {
struct [[deprecated("Use std::string_view instead")]] StringRef {
const char *p;
size_t len;
StringRef() : p(0), len(0) {}
Expand Down

0 comments on commit 8ec8f23

Please sign in to comment.