BTabView: Don't use std, just call std::nothrow
This commit is contained in:
@@ -31,9 +31,6 @@
|
|||||||
#include <binary_compatibility/Support.h>
|
#include <binary_compatibility/Support.h>
|
||||||
|
|
||||||
|
|
||||||
using std::nothrow;
|
|
||||||
|
|
||||||
|
|
||||||
static property_info sPropertyList[] = {
|
static property_info sPropertyList[] = {
|
||||||
{
|
{
|
||||||
"Selection",
|
"Selection",
|
||||||
@@ -1239,7 +1236,7 @@ BTabView::_InitContainerView(bool layouted)
|
|||||||
bool createdContainer = false;
|
bool createdContainer = false;
|
||||||
if (layouted) {
|
if (layouted) {
|
||||||
if (GetLayout() == NULL) {
|
if (GetLayout() == NULL) {
|
||||||
SetLayout(new(nothrow) BGroupLayout(B_HORIZONTAL));
|
SetLayout(new(std::nothrow) BGroupLayout(B_HORIZONTAL));
|
||||||
needsLayout = true;
|
needsLayout = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user