mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02: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 {
|
||||
bool operator() (ItemBound& left, ItemBound& right) {
|
||||
bool operator() (const ItemBound& left, const ItemBound& right) {
|
||||
return (left._centerDepth < right._centerDepth);
|
||||
}
|
||||
};
|
||||
|
||||
struct BackToFrontSort {
|
||||
bool operator() (ItemBound& left, ItemBound& right) {
|
||||
bool operator() (const ItemBound& left, const ItemBound& right) {
|
||||
return (left._centerDepth > right._centerDepth);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue