From 645b6ce77345867fa96861843197481131566c46 Mon Sep 17 00:00:00 2001 From: alberth Date: Fri, 23 Jul 2010 19:07:00 +0000 Subject: (svn r20210) -Fix (r20206): Allow other compilers to enjoy the new window too. --- src/industry_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 5d32857d4..db3ad4071 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -1721,8 +1721,8 @@ private: } }; -assert_compile(MAX_CARGOES >= lengthof(IndustrySpec::produced_cargo)); -assert_compile(MAX_CARGOES >= lengthof(IndustrySpec::accepts_cargo)); +assert_compile(MAX_CARGOES >= cpp_lengthof(IndustrySpec, produced_cargo)); +assert_compile(MAX_CARGOES >= cpp_lengthof(IndustrySpec, accepts_cargo)); int CargoesField::small_height; ///< Height of the header row. int CargoesField::normal_height; ///< Height of the non-header rows. -- cgit v1.2.3-70-g09d2