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:
Stephan Aßmus 2009-04-01 16:02:08 +00:00
parent a9fcf35b98
commit 49b582efd6

View File

@ -98,7 +98,7 @@ BRegion::~BRegion()
\return This function always returns \c *this. \return This function always returns \c *this.
*/ */
BRegion& BRegion&
BRegion::operator=(const BRegion &region) BRegion::operator=(const BRegion& region)
{ {
if (&region == this) if (&region == this)
return *this; return *this;
@ -115,6 +115,7 @@ BRegion::operator=(const BRegion &region)
return *this; return *this;
} }
/*! \brief Compares this region to another (by value). /*! \brief Compares this region to another (by value).
\param other the BRegion to compare to. \param other the BRegion to compare to.
\return \ctrue if the two regions are the same, \cfalse otherwise. \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; return memcmp(fData, other.fData, fCount * sizeof(clipping_rect)) == 0;
} }
/*! \brief Set the region to contain just the given BRect. /*! \brief Set the region to contain just the given BRect.
\param newBounds A BRect. \param newBounds A BRect.
*/ */