[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
Showing
- garnet/bin/fidl_compatibility_test/compatibility_test_server_llcpp.cc 2 additions, 4 deletions...idl_compatibility_test/compatibility_test_server_llcpp.cc
- zircon/system/ulib/fidl/include/lib/fidl/cpp/string_view.h 6 additions, 11 deletionszircon/system/ulib/fidl/include/lib/fidl/cpp/string_view.h
- zircon/system/utest/fidl-llcpp-interop/dirent_tests.cpp 3 additions, 3 deletionszircon/system/utest/fidl-llcpp-interop/dirent_tests.cpp
- zircon/system/utest/fidl/linearizing_tests.cpp 3 additions, 3 deletionszircon/system/utest/fidl/linearizing_tests.cpp
Loading
Please register or sign in to comment