[routing] Use std::unique_ptr overload

This CL updates use of |AddProtocol| to use the
|std::unique_ptr| overload instead of the raw pointer.
The raw pointer method is deprecated. For more details
about this deprecation, see fxrev.dev/775483.

Change-Id: I06253d06076fcb77d3604961fb9622f33bd7168d
Reviewed-on: https://fuchsia-review.googlesource.com/c/sdk-samples/getting-started/+/781932
Reviewed-by: Renato Mangini Dias <mangini@google.com>
2 files changed
tree: 55aadef460752ec79042874bcf442ffdb7ad6229
  1. scripts/
  2. src/
  3. third_party/
  4. tools/
  5. .bazelignore
  6. .bazelrc
  7. .gitignore
  8. .gitmodules
  9. AUTHORS
  10. CONTRIBUTING.md
  11. getting-started.code-workspace
  12. LICENSE
  13. OWNERS
  14. PATENTS
  15. README.md
  16. WORKSPACE.bazel
README.md

Fuchsia samples using the Fuchsia SDK

This repository contains instructions and source code to build, package and run Fuchsia samples using only the Fuchsia SDK.

Please refer to https://fuchsia.dev/fuchsia-src/get-started/sdk for the most up to date guidance on how to bootstrap this repository.