diff options
author | rubidium <rubidium@openttd.org> | 2014-02-06 21:06:59 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-02-06 21:06:59 +0000 |
commit | 9f6b8aea49cbafe9d19611dc31c64a92b171d14b (patch) | |
tree | cc2980aec66915ac23080b5c13cbf502efa5f8a0 /src/townname_type.h | |
parent | c7629735a3393730d12fba678839baeec31ee72d (diff) | |
download | openttd-9f6b8aea49cbafe9d19611dc31c64a92b171d14b.tar.xz |
(svn r26313) -Codechange: use a set for finding unique town names instead of iterating all just created town names (MJP)
Diffstat (limited to 'src/townname_type.h')
-rw-r--r-- | src/townname_type.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/townname_type.h b/src/townname_type.h index 8a4b12b8b..0177294d9 100644 --- a/src/townname_type.h +++ b/src/townname_type.h @@ -17,6 +17,10 @@ #include "newgrf_townname.h" #include "town_type.h" +#include <set> +#include <string> + +typedef std::set<std::string> TownNames; /** * Struct holding a parameters used to generate town name. |