diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 21:10:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 22:04:31 +0000 |
commit | d22519f62bcd1325f1e7cc920a115b68fccd1922 (patch) | |
tree | 3b761a7f8c25f8f765c8d25662a803e47b5a7167 /unoidl | |
parent | d44168795aed842d524e3a349962f2b98a8ac504 (diff) |
V801: Decreased performance
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/unoidlprovider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/unoidlprovider.cxx b/unoidl/source/unoidlprovider.cxx index 23de040ef8be..90f3b81ab949 100644 --- a/unoidl/source/unoidlprovider.cxx +++ b/unoidl/source/unoidlprovider.cxx @@ -456,7 +456,7 @@ struct MapEntry { Memory32 data; }; -bool operator <(Map const map1, Map const map2) { +bool operator <(const Map& map1, const Map& map2) { return map1.begin < map2.begin || (map1.begin == map2.begin && map1.size < map2.size); } |