diff --git a/src/feature_type_style.cpp b/src/feature_type_style.cpp index cc65fea19..f9047f595 100644 --- a/src/feature_type_style.cpp +++ b/src/feature_type_style.cpp @@ -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() diff --git a/src/map.cpp b/src/map.cpp index d01f35ded..7ec79ee0a 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -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() : width_(400), diff --git a/src/stroke.cpp b/src/stroke.cpp index 12daedf9c..0a9ecb40f 100644 --- a/src/stroke.cpp +++ b/src/stroke.cpp @@ -33,6 +33,9 @@ static const char * line_cap_strings[] = { }; +IMPLEMENT_ENUM( line_cap_e, line_cap_strings ) + + static const char * line_join_strings[] = { "miter", "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()