mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
Bug 230687. DEC compiler barfs on call to implicit nsRectFast::operator=. r+sr=dbaron
This commit is contained in:
parent
8bbabeb21c
commit
614711c67e
@ -70,7 +70,10 @@ class NS_GFX nsRegion
|
||||
|
||||
RgnRect& operator = (const RgnRect& aRect) // Do not overwrite prev/next pointers
|
||||
{
|
||||
nsRectFast::operator = (aRect); // Copy only the nsRectFast part
|
||||
x = aRect.x;
|
||||
y = aRect.y;
|
||||
width = aRect.width;
|
||||
height = aRect.height;
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user