svg_loader: fix compile warnings.

--warning: extra â^`^x;â^`^y [-Wpedantic]

Change-Id: Ib40079628cac3fff6d991fd05d7d8073dd350361
This commit is contained in:
Hermet Park 2020-08-06 16:50:59 +09:00
parent 7214559ad9
commit ccde125cf5

View file

@ -182,7 +182,7 @@ static constexpr struct
}; };
_PARSE_TAG(StrokeCap, lineCap, LineCap, lineCapTags, StrokeCap::Butt); _PARSE_TAG(StrokeCap, lineCap, LineCap, lineCapTags, StrokeCap::Butt)
/* parse the line join used during stroking a path. /* parse the line join used during stroking a path.
@ -201,7 +201,7 @@ static constexpr struct
}; };
_PARSE_TAG(StrokeJoin, lineJoin, LineJoin, lineJoinTags, StrokeJoin::Miter); _PARSE_TAG(StrokeJoin, lineJoin, LineJoin, lineJoinTags, StrokeJoin::Miter)
/* parse the fill rule used during filling a path. /* parse the fill rule used during filling a path.
@ -218,7 +218,7 @@ static constexpr struct
}; };
_PARSE_TAG(SvgFillRule, fillRule, FillRule, fillRuleTags, SvgFillRule::Winding); _PARSE_TAG(SvgFillRule, fillRule, FillRule, fillRuleTags, SvgFillRule::Winding)
static string* _idFromUrl(const char* url) static string* _idFromUrl(const char* url)
@ -1536,8 +1536,8 @@ static constexpr struct
return nullptr; \ return nullptr; \
} }
FIND_FACTORY(Group, groupTags); FIND_FACTORY(Group, groupTags)
FIND_FACTORY(Graphics, graphicsTags); FIND_FACTORY(Graphics, graphicsTags)
FillSpread _parseSpreadValue(const char* value) FillSpread _parseSpreadValue(const char* value)