Move default args to constructor declaration. Fixes Windows build problem. SVG only - not part of default builds.

This commit is contained in:
alex%croczilla.com 2004-08-06 23:17:55 +00:00
Родитель a539b3a184
Коммит dc103f7bab
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -52,7 +52,7 @@ class nsSVGRect : public nsIDOMSVGRect,
public nsSVGValue
{
public:
nsSVGRect(float x, float y, float w, float h); // addrefs
nsSVGRect(float x=0.0f, float y=0.0f, float w=0.0f, float h=0.0f); // addrefs
// nsISupports interface:
NS_DECL_ISUPPORTS
@ -72,7 +72,7 @@ protected:
//----------------------------------------------------------------------
// implementation:
nsSVGRect::nsSVGRect(float x=0.0f, float y=0.0f, float w=0.0f, float h=0.0f)
nsSVGRect::nsSVGRect(float x, float y, float w, float h)
: mRefCnt(1), mX(x), mY(y), mWidth(w), mHeight(h)
{
}