Changes to allow Haiku source to build with GCC 4.7

* GCC 4.7 is more picky than GCC 4.6, so have to make changes accordingly
* Changes include addressing issues with scoping, redeclaration, etc.
Thanks Rene and Ingo for your input on these changes
This commit is contained in:
Joseph R. Prostko
2012-11-15 17:59:19 -05:00
parent 2df12e67c1
commit caddc641c1
5 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -1328,7 +1328,7 @@ MenuItem<ParentBuilder>::MenuItem(ParentBuilder* parentBuilder, BMenu* menu,
Menu<ParentBuilder>(menu),
fMenuItem(item)
{
SetParent(parentBuilder);
this->SetParent(parentBuilder);
}