Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion zip/converters.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ class RustVecU8Wrapper {
explicit RustVecU8Wrapper(rust::VecU8 vec_u8)
: vec_u8_(std::move(vec_u8)) {}

absl::string_view AsStringView() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
absl::string_view AsStringView() const& ABSL_ATTRIBUTE_LIFETIME_BOUND {
return security::crubit_helpers::StringViewFromVecU8(vec_u8_);
}
absl::string_view AsStringView() const&& = delete;

private:
rust::VecU8 vec_u8_;
Expand Down
Loading