mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-24 19:42:27 +03:00
replace new
by new (std::nothrow)
, remove arduino_new
This commit is contained in:
@ -32,7 +32,7 @@ using namespace fs;
|
||||
|
||||
|
||||
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SDFS)
|
||||
FS SDFS = FS(FSImplPtr(new sdfs::SDFSImpl()));
|
||||
FS SDFS = FS(FSImplPtr(new (std::nothrow) sdfs::SDFSImpl()));
|
||||
#endif
|
||||
|
||||
namespace sdfs {
|
||||
|
Reference in New Issue
Block a user