OSDN Git Service

rusty-gd: make scalar getters return by copy rather than ref
authorZach Johnson <zachoverflow@google.com>
Sun, 13 Dec 2020 10:17:22 +0000 (02:17 -0800)
committerZach Johnson <zachoverflow@google.com>
Fri, 18 Dec 2020 19:33:57 +0000 (11:33 -0800)
commit138769cca8c220853303cdfa17e37de4c562916e
tree644ce40cf2126d59af20cc5c5f3bc6cd45e182eb
parent179d144d17c8b263d399c1dfc273bf4f9a912d2c
rusty-gd: make scalar getters return by copy rather than ref

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I1427e8cc8c252a1eddb68470b1df215cf53c628f
gd/packet/parser/fields/packet_field.h
gd/packet/parser/fields/scalar_field.h
gd/packet/parser/packet_def.cc
gd/rust/hci/src/lib.rs