mirror of
https://github.com/openharmony/resourceschedule_memmgr.git
synced 2026-07-01 22:44:05 -04:00
!112 use reference instead of value to avoid copy
Merge pull request !112 from 陈杰/chenjie16
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
}
|
||||
};
|
||||
struct BundleInfoCmp {
|
||||
bool operator() (const BundlePriorityInfo p1, const BundlePriorityInfo p2)
|
||||
bool operator() (const BundlePriorityInfo &p1, const BundlePriorityInfo &p2)
|
||||
{
|
||||
if (p1.uid_ == p2.uid_) {
|
||||
// remove duplicate BundlePriorityInfo according to uid_
|
||||
|
||||
Reference in New Issue
Block a user