1
0
forked from 0ad/0ad

Fix failure of the CGUIColor constructor author to call the base constructor following f236c07a56, refs 415939b59b.

Tested on: gcc 9, VS2015

This was SVN commit r22636.
This commit is contained in:
elexis 2019-08-09 14:54:14 +00:00
parent d192c160de
commit f804226b89

View File

@ -26,15 +26,9 @@
*/ */
struct CGUIColor : CColor struct CGUIColor : CColor
{ {
CGUIColor() CGUIColor() : CColor() {}
{
CColor();
}
CGUIColor(float r, float g, float b, float a) CGUIColor(float r, float g, float b, float a) : CColor(r, g, b, a) {}
{
CColor(r, g, b, a);
}
bool ParseString(const CStr& value, int defaultAlpha = 255) bool ParseString(const CStr& value, int defaultAlpha = 255)
{ {