Skip to content
Snippets Groups Projects
Commit 8ad34ead authored by Yifei Teng's avatar Yifei Teng Committed by CQ bot account: commit-bot@chromium.org
Browse files

[fidl] [llcpp] Make fidl::StringView data const

FIDL-606 #done

Improves the ergonomics of fidl::StringView in llcpp.

Also hides the fact that it inherits from fidl_string_t, as casting it
to fidl_string_t would undermine const-safety, due to fidl_string_t
using a non-const data pointer.

Test: No behavior change; compiles.
Change-Id: Id12232962d4090b6b88ae689270e05e9dd926699
parent 02823dc1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment