Make rect data part of union as suggested by Ingo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43100 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2011-11-02 09:19:24 +00:00
parent 38a0577422
commit 7bf8fcfab4
2 changed files with 17 additions and 15 deletions
+7 -6
View File
@@ -159,13 +159,14 @@ private:
void* fPointer;
char* fString;
BReferenceable* fReferenceable;
uint8 fBytes[8];
struct {
float left;
float top;
float right;
float bottom;
} fRect;
uint8 fBytes[sizeof(float) * 4];
};
float fLeft;
float fTop;
float fRight;
float fBottom;
};