avoid -pedantic warnings

This commit is contained in:
Dane Springmeyer 2011-04-01 07:20:41 +00:00
parent 12c005b57e
commit b65c932ac0
3 changed files with 6 additions and 4 deletions

View file

@ -31,7 +31,7 @@ static const char * filter_mode_strings[] = {
"" ""
}; };
IMPLEMENT_ENUM( filter_mode_e, filter_mode_strings ); IMPLEMENT_ENUM( filter_mode_e, filter_mode_strings )
feature_type_style::feature_type_style() feature_type_style::feature_type_style()

View file

@ -58,7 +58,7 @@ static const char * aspect_fix_mode_strings[] = {
"" ""
}; };
IMPLEMENT_ENUM( aspect_fix_mode_e, aspect_fix_mode_strings ); IMPLEMENT_ENUM( aspect_fix_mode_e, aspect_fix_mode_strings )
Map::Map() Map::Map()
: width_(400), : width_(400),

View file

@ -33,6 +33,9 @@ static const char * line_cap_strings[] = {
}; };
IMPLEMENT_ENUM( line_cap_e, line_cap_strings )
static const char * line_join_strings[] = { static const char * line_join_strings[] = {
"miter", "miter",
"miter_revert", "miter_revert",
@ -41,8 +44,7 @@ static const char * line_join_strings[] = {
"" ""
}; };
IMPLEMENT_ENUM( line_cap_e, line_cap_strings ); IMPLEMENT_ENUM( line_join_e, line_join_strings )
IMPLEMENT_ENUM( line_join_e, line_join_strings );
stroke::stroke() stroke::stroke()