Fixed a few more coding style issues, thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29853 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a9fcf35b98
commit
49b582efd6
@ -98,7 +98,7 @@ BRegion::~BRegion()
|
||||
\return This function always returns \c *this.
|
||||
*/
|
||||
BRegion&
|
||||
BRegion::operator=(const BRegion ®ion)
|
||||
BRegion::operator=(const BRegion& region)
|
||||
{
|
||||
if (®ion == this)
|
||||
return *this;
|
||||
@ -115,6 +115,7 @@ BRegion::operator=(const BRegion ®ion)
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
/*! \brief Compares this region to another (by value).
|
||||
\param other the BRegion to compare to.
|
||||
\return \ctrue if the two regions are the same, \cfalse otherwise.
|
||||
@ -131,6 +132,7 @@ BRegion::operator==(const BRegion& other) const
|
||||
return memcmp(fData, other.fData, fCount * sizeof(clipping_rect)) == 0;
|
||||
}
|
||||
|
||||
|
||||
/*! \brief Set the region to contain just the given BRect.
|
||||
\param newBounds A BRect.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user