(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -15,10 +15,8 @@
|
||||
#include "core/geometry_type.hpp"
|
||||
#include "tile_cmd.h"
|
||||
|
||||
enum {
|
||||
SNOW_LINE_MONTHS = 12, ///< Number of months in the snow line table.
|
||||
SNOW_LINE_DAYS = 32, ///< Number of days in each month in the snow line table.
|
||||
};
|
||||
static const uint SNOW_LINE_MONTHS = 12; ///< Number of months in the snow line table.
|
||||
static const uint SNOW_LINE_DAYS = 32; ///< Number of days in each month in the snow line table.
|
||||
|
||||
/** Structure describing the height of the snow line each day of the year
|
||||
* @ingroup SnowLineGroup */
|
||||
|
Reference in New Issue
Block a user