Skip to content

compat: explicitly convert absl::string_view to std::string #6687

Merged
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
AndresGuedez:string_view-to-string-explicit
Apr 23, 2019
Merged

compat: explicitly convert absl::string_view to std::string #6687
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
AndresGuedez:string_view-to-string-explicit

Conversation

@AndresGuedez
Copy link
Contributor

Implicit direct initialization of a std::pair<std::string, ...> from an absl::string_view argument is not allowed in gcc-4.9.

This PR works around this issue by explicitly creating the std::string.

Risk Level: Low.
Testing: All tests pass.

Signed-off-by: Andres Guedez aguedez@google.com

Signed-off-by: Andres Guedez <aguedez@google.com>
@AndresGuedez
Copy link
Contributor Author

@htuch PTAL

@mattklein123 mattklein123 merged commit bc6780c into envoyproxy:master Apr 23, 2019
mpuncel added a commit to mpuncel/envoy that referenced this pull request Apr 24, 2019
* master:
  docs: add extension policy (envoyproxy#6678)
  ext_authz: added ability to detect partial request body data (envoyproxy#6583)
  version_history.rst: jwt_authn change missed 1.10.0 (envoyproxy#6684)
  docs: fix link in pull request template (envoyproxy#6679)
  Explicitly convert absl::string_view to std::string. (envoyproxy#6687)
  docs: improving watermark docs/comments (envoyproxy#6683)
  http filter: add CSRF filter (envoyproxy#6470)
  event: reintroduce dispatcher stats (envoyproxy#6659)
  security: postmortem for CVE-2019-990[01] (envoyproxy#6597)
  Improve build rules for (test only) library quic_port_utils. (envoyproxy#6672)
  spell check: skip unsupported extensions when called with a file (envoyproxy#6648)
  Changed TestHooks to ListenerHooks (envoyproxy#6642)
  proto: move extension-specific linking validation into extensions (envoyproxy#6657)
  stats: add/test heterogenous set of StatNameStorage objects. (envoyproxy#6504)
  docs: move xds protocol to rst (envoyproxy#6670)
  fix version history order (envoyproxy#6671)

Signed-off-by: Michael Puncel <mpuncel@squareup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants