diff options
author | Tom Tromey <tom@tromey.com> | 2021-06-21 17:26:25 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-06-21 17:26:25 -0600 |
commit | 3ebfb4d4222d252673ce1afff5a7264e332b3b13 (patch) | |
tree | 66e959a411391ee82bcc73871bfbb0e741e2c06c /gcc/rust/backend/rust-compile-expr.h | |
parent | f2d9faf3862a75247adbd6c233c889010902a34b (diff) | |
download | gcc-3ebfb4d4222d252673ce1afff5a7264e332b3b13.zip gcc-3ebfb4d4222d252673ce1afff5a7264e332b3b13.tar.gz gcc-3ebfb4d4222d252673ce1afff5a7264e332b3b13.tar.bz2 |
Use unique_ptr in Token
Token currently uses a "std::string *". There's a comment proposing
that perhaps this should be changed; but meanwhile, it's slightly
cleaner to use unique_ptr rather than have Token manage the string's
lifetime manually.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions