8000 Protobuf v30 compatibility · Issue #1357 · google/cel-cpp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Protobuf v30 compatibility #1357
Open
Open
@mering

Description

@mering

Protobuf changed the return value from std::string to std::string_view.

This leads to errors like the following

com_google_cel_cpp/eval/public/structs/field_access_impl.cc:325:12: error: cannot initialize return object of type 'const std::string *' (aka 'const basic_string<char> *') with an rvalue of type 'absl::string_view *' (aka 'basic_string_view<char> *')
  325 |     return &value_ref_->GetStringValue();
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0