Hush clang-tidy warning about copying UidRangeParcel.
These are small enought that we could really pass them by value... but
the clang-tidy isn't smart enough to know that.
Test: m netd
Change-Id: I4a2cb92373dfc2e53e22f152db7ec7d62cb2f6d3
diff --git a/server/UidRanges.cpp b/server/UidRanges.cpp
index 359e5ea..883a13f 100644
--- a/server/UidRanges.cpp
+++ b/server/UidRanges.cpp
@@ -32,7 +32,7 @@
namespace {
-bool compUidRangeParcel(UidRangeParcel lhs, UidRangeParcel rhs) {
+bool compUidRangeParcel(const UidRangeParcel& lhs, const UidRangeParcel& rhs) {
return lhs.start != rhs.start ? (lhs.start < rhs.start) : (lhs.stop < rhs.stop);
};