From 9d018723b7bab3341cd455708a6cd98283d75c34 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 14 Mar 2009 18:16:29 +0000 Subject: (svn r15711) -Codechange: lots of whitespace cleanup/fixes --- src/core/enum_type.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core') diff --git a/src/core/enum_type.hpp b/src/core/enum_type.hpp index 6e1da3dda..1560d42d6 100644 --- a/src/core/enum_type.hpp +++ b/src/core/enum_type.hpp @@ -64,12 +64,12 @@ struct MakeEnumPropsT { /** In some cases we use byte or uint16 to store values that are defined as enum. It is - * necessary in order to control the sizeof() such values. Some compilers make enum - * the same size as int (4 or 8 bytes instead of 1 or 2). As a consequence the strict - * compiler type - checking causes errors like: - * 'HasPowerOnRail' : cannot convert parameter 1 from 'byte' to 'RailType' when - * u->u.rail.railtype is passed as argument or type RailType. In such cases it is better - * to teach the compiler that u->u.rail.railtype is to be treated as RailType. */ + * necessary in order to control the sizeof() such values. Some compilers make enum + * the same size as int (4 or 8 bytes instead of 1 or 2). As a consequence the strict + * compiler type - checking causes errors like: + * 'HasPowerOnRail' : cannot convert parameter 1 from 'byte' to 'RailType' when + * u->u.rail.railtype is passed as argument or type RailType. In such cases it is better + * to teach the compiler that u->u.rail.railtype is to be treated as RailType. */ template struct TinyEnumT; /** The general declaration of TinyEnumT<> (above) */ -- cgit v1.2.3-54-g00ecf