commit | d27700495cfd0835bbbec4106942b7294e93d10e | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Tue Oct 29 11:08:14 2019 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Oct 30 16:21:22 2019 +0000 |
tree | 5f3ffc07dd46a5ec38f14fa8f7d788a65ce163b7 | |
parent | 00a0bb94f52fb93f5be1578f68136cf0622179c0 [diff] |
Use const reference when not modifying objects Before we can refactor to use shared_ptr, we should make ownership clear by only using reference and const reference in places that don't care about the ownership model of the object (and when the object is not nullable). Bug: none Test: none Change-Id: If794e2e1403b31d44524ef88b71c167215fafe46