diff options
author | glx <glx@openttd.org> | 2019-04-13 19:55:31 +0200 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2019-04-13 21:05:25 +0200 |
commit | 410b81537cd28e133acfc423efc88627f4454676 (patch) | |
tree | 6c0a63682771428d57978e37327fdb18ab79428d /src/window_gui.h | |
parent | 3bbd7ea2c1a7f3631362805da76848112f7a606d (diff) | |
download | openttd-410b81537cd28e133acfc423efc88627f4454676.tar.xz |
Fix 801cbea9c: operator< is not always the best idea
Also removes unused and anyway broken SmallMap::SortByKey() function.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index b338d345f..db42cafcd 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -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). |