fix a compilation error on MSVC...

...caused by a missing const specifier on a member function
This commit is contained in:
Tomasz Śniatowski 2009-02-15 16:05:02 +01:00
parent 4ecccabae3
commit 01423b5650

View file

@ -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);
}