diff options
Diffstat (limited to 'pw_protobuf/message.cc')
-rw-r--r-- | pw_protobuf/message.cc | 2 |
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++() { |