From 1eb057904405acf23061c92e37ab3f4ddded72c7 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Fri, 29 Apr 2016 13:42:01 -0700 Subject: [PATCH] BTabView: Don't use std, just call std::nothrow --- src/kits/interface/TabView.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/kits/interface/TabView.cpp b/src/kits/interface/TabView.cpp index e216cbcad2..d3f23d9e85 100644 --- a/src/kits/interface/TabView.cpp +++ b/src/kits/interface/TabView.cpp @@ -31,9 +31,6 @@ #include -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; }