GCC4 fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25471 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -895,7 +895,7 @@ BApplication::AppResources()
|
|||||||
|
|
||||||
BFile file(&ref, B_READ_ONLY);
|
BFile file(&ref, B_READ_ONLY);
|
||||||
if (file.InitCheck() == B_OK) {
|
if (file.InitCheck() == B_OK) {
|
||||||
sAppResources = new (nothrow) BResources(&file, false);
|
sAppResources = new (std::nothrow) BResources(&file, false);
|
||||||
if (sAppResources != NULL
|
if (sAppResources != NULL
|
||||||
&& sAppResources->InitCheck() != B_OK) {
|
&& sAppResources->InitCheck() != B_OK) {
|
||||||
delete sAppResources;
|
delete sAppResources;
|
||||||
|
|||||||
Reference in New Issue
Block a user