BTabView: Don't use std, just call std::nothrow

This commit is contained in:
John Scipione
2016-04-29 14:31:32 -07:00
parent 24cb14bc3d
commit 1eb0579044
+1 -4
View File
@@ -31,9 +31,6 @@
#include <binary_compatibility/Support.h>
using std::nothrow;
static property_info sPropertyList[] = {
{
"Selection",
@@ -1239,7 +1236,7 @@ BTabView::_InitContainerView(bool layouted)
bool createdContainer = false;
if (layouted) {
if (GetLayout() == NULL) {
SetLayout(new(nothrow) BGroupLayout(B_HORIZONTAL));
SetLayout(new(std::nothrow) BGroupLayout(B_HORIZONTAL));
needsLayout = true;
}