fix a compilation error on MSVC...
...caused by a missing const specifier on a member function
This commit is contained in:
parent
4ecccabae3
commit
01423b5650
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ protected:
|
|||
*/
|
||||
struct draw_order
|
||||
{
|
||||
bool operator()(const map_location& lhs, const map_location& rhs)
|
||||
bool operator()(const map_location& lhs, const map_location& rhs) const
|
||||
{
|
||||
return lhs.y < rhs.y || (lhs.y == rhs.y && lhs.x < rhs.x);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue