Definition at line 73 of file buydialog.cpp.
◆ operator()()
bool anonymous_namespace{buydialog.cpp}::SortItemPriceFunctor::operator() |
( |
const ShopItem *const |
item1, |
|
|
const ShopItem *const |
item2 |
|
) |
| const |
|
inline |
Definition at line 78 of file buydialog.cpp.
81 if ((item1 ==
nullptr) || (item2 ==
nullptr))
84 const int price1 = item1->
getPrice();
85 const int price2 = item2->
getPrice();
88 return price1 < price2;
const std::string & getDisplayName() const
The documentation for this class was generated from the following file: