really implement BitsLength() inline, I have no idea why it compiled for me...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12418 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-04-15 15:31:57 +00:00
parent 5cf27f9b8d
commit 1e1b1675de
2 changed files with 1 additions and 10 deletions
@@ -70,6 +70,7 @@ class ServerBitmap {
{ return fBuffer; }
inline uint32 BitsLength() const;
{ return (uint32)(fBytesPerRow * fHeight); }
inline BRect Bounds() const
{ return BRect(0, 0, fWidth - 1, fHeight - 1); }
-10
View File
@@ -89,16 +89,6 @@ ServerBitmap::~ServerBitmap()
{
}
/*!
\brief Gets the number of bytes occupied by the bitmap, including padding bytes.
\return The number of bytes occupied by the bitmap, including padding.
*/
uint32
ServerBitmap::BitsLength(void) const
{
return (uint32)(fBytesPerRow * fHeight);
}
/*!
\brief Internal function used by subclasses