summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-04-12 01:28:11 +0200
committerPeterN <peter@fuzzle.org>2019-04-13 12:49:18 +0100
commit801cbea9cce1e04e6921bb087add8206cffe1fe1 (patch)
tree9ac04e07320af1b5bd0fa8e822ec571e6bd58303 /src/window_gui.h
parent5b77102b63f77bfbad02ae3383b87fbef6e60e7d (diff)
downloadopenttd-801cbea9cce1e04e6921bb087add8206cffe1fe1.tar.xz
Codechange: use std::sort() for all std::vector types
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index db42cafcd..b338d345f 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -192,6 +192,8 @@ 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).