commit | 7868c94a9e562324988d99e0db35bcdafdcb6347 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Aug 13 15:31:00 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Sep 05 14:46:16 2019 -0700 |
tree | 6ad8e9fa754cd3d6d3fbe418c3c826f7159fed26 | |
parent | 599d98425d10202b876757f3a01a7711b46368b5 [diff] |
Don't use scoped_ptr, use std::move for proto scoped_ptr is being removed from protobuf, use std::unique_ptr instead. Protos support std::move now, which trips the clang-tidy modernize-pass-by-value check. Change it to pass by value with std::move. Also fix a string in a test that has changed. Bug: 117607748 Test: m checkbuild Change-Id: Ib0c953a691903b75766524200d43a6ed2c7582c0 Merged-In: Ib0c953a691903b75766524200d43a6ed2c7582c0