mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
TRying again a better compare function signature for ubunutu
This commit is contained in:
parent
98160c8d60
commit
81396ae5aa
1 changed files with 2 additions and 2 deletions
|
@ -211,13 +211,13 @@ struct ItemBound {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FrontToBackSort {
|
struct FrontToBackSort {
|
||||||
bool operator() (ItemBound& left, ItemBound& right) {
|
bool operator() (const ItemBound& left, const ItemBound& right) {
|
||||||
return (left._centerDepth < right._centerDepth);
|
return (left._centerDepth < right._centerDepth);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct BackToFrontSort {
|
struct BackToFrontSort {
|
||||||
bool operator() (ItemBound& left, ItemBound& right) {
|
bool operator() (const ItemBound& left, const ItemBound& right) {
|
||||||
return (left._centerDepth > right._centerDepth);
|
return (left._centerDepth > right._centerDepth);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue