aboutsummaryrefslogtreecommitdiff
path: root/pw_protobuf/message.cc
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2023-08-14 15:38:30 -0700
committerXin Li <delphij@google.com>2023-08-14 15:38:30 -0700
commitbddf63953e111d742b591c1c0c7c34bcda8a51c7 (patch)
tree3a93128bff4b737b24b0c9581922c0b20410f0f4 /pw_protobuf/message.cc
parentee890da55c82b95deca3518d5f3777e3d8ca9f0e (diff)
parentfbb9890f8922aa55fde183655a0017e69127ea4b (diff)
downloadpigweed-bddf63953e111d742b591c1c0c7c34bcda8a51c7.tar.gz
Merge Android U (ab/10368041)tmp_amf_298295554
Bug: 291102124 Merged-In: I10c41adb8fe3e126cfa4ff2f49b15863fff379de Change-Id: I66f7a6cccaafc173d3924dae62a736c6c53520c7
Diffstat (limited to 'pw_protobuf/message.cc')
-rw-r--r--pw_protobuf/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw_protobuf/message.cc b/pw_protobuf/message.cc
index 01286277b..bc4f31bdf 100644
--- a/pw_protobuf/message.cc
+++ b/pw_protobuf/message.cc
@@ -136,7 +136,7 @@ Result<bool> Bytes::Equal(ConstByteSpan bytes) {
}
Result<bool> String::Equal(std::string_view str) {
- return Bytes::Equal(std::as_bytes(std::span{str}));
+ return Bytes::Equal(as_bytes(span<const char>{str}));
}
Message::iterator& Message::iterator::operator++() {