Fix 801cbea9c: operator< is not always the best idea

Also removes unused and anyway broken SmallMap::SortByKey() function.
This commit is contained in:
glx
2019-04-13 19:55:31 +02:00
committed by glx22
parent 3bbd7ea2c1
commit 410b81537c
3 changed files with 4 additions and 16 deletions

View File

@@ -192,8 +192,6 @@ struct WindowDesc : ZeroedMemoryAllocator {
static void LoadFromConfig();
static void SaveToConfig();
bool operator< (WindowDesc * const &other) const;
private:
int16 default_width_trad; ///< Preferred initial width of the window (pixels at 1x zoom).
int16 default_height_trad; ///< Preferred initial height of the window (pixels at 1x zoom).