OSDN Git Service

Fix clang-tidy performance warnings.
authorChih-Hung Hsieh <chh@google.com>
Wed, 27 Jul 2016 17:28:33 +0000 (10:28 -0700)
committerChih-Hung Hsieh <chh@google.com>
Wed, 27 Jul 2016 17:28:33 +0000 (10:28 -0700)
commit6c083acf2aa05e312f4b11494b986455346ab452
tree089fdc5ea281ab0141a35f37286bdedc2829d146
parent620ce44a7aa4337d99c29e77134f9951652756e5
Fix clang-tidy performance warnings.

* Use const reference parameter type to avoid unnecessary copy.

Bug: 30407689
Change-Id: Iefab05c077367f272abf545036b853e8a295c8cd
Test: build with WITH_TIDY=1
tools/atree/atree.cpp