Add missing "using std::nothrow"
This commit is contained in:
@@ -24,6 +24,10 @@
|
|||||||
# define TRACE(x) ;
|
# define TRACE(x) ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
// constructor
|
// constructor
|
||||||
FileMapDisk::FileMapDisk()
|
FileMapDisk::FileMapDisk()
|
||||||
:
|
:
|
||||||
|
|||||||
@@ -15,6 +15,9 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
namespace FFS {
|
namespace FFS {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,9 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
namespace FFS {
|
namespace FFS {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
using namespace FFS;
|
using namespace FFS;
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
Volume::Volume(boot::Partition *partition)
|
Volume::Volume(boot::Partition *partition)
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
extern Node *get_node_from(int fd);
|
extern Node *get_node_from(int fd);
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
namespace BFS {
|
namespace BFS {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
using namespace BFS;
|
using namespace BFS;
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
class CachedBlock {
|
class CachedBlock {
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
|
|
||||||
using namespace BFS;
|
using namespace BFS;
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
Volume::Volume(boot::Partition *partition)
|
Volume::Volume(boot::Partition *partition)
|
||||||
|
|||||||
@@ -26,6 +26,9 @@
|
|||||||
#define TRACE(x) do {} while (0)
|
#define TRACE(x) do {} while (0)
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
namespace FATFS {
|
namespace FATFS {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
|
|
||||||
using namespace FATFS;
|
using namespace FATFS;
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
Volume::Volume(boot::Partition *partition)
|
Volume::Volume(boot::Partition *partition)
|
||||||
|
|||||||
@@ -37,6 +37,10 @@ static const uint32 kFloppyArchiveOffset = BOOT_ARCHIVE_IMAGE_OFFSET * 1024;
|
|||||||
// defined at build time, see build/jam/BuildSetup
|
// defined at build time, see build/jam/BuildSetup
|
||||||
static const size_t kTarRegionSize = 8 * 1024 * 1024; // 8 MB
|
static const size_t kTarRegionSize = 8 * 1024 * 1024; // 8 MB
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
namespace TarFS {
|
namespace TarFS {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
#include <boot/net/TCP.h>
|
#include <boot/net/TCP.h>
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
// sNetStack
|
// sNetStack
|
||||||
NetStack *NetStack::sNetStack = NULL;
|
NetStack *NetStack::sNetStack = NULL;
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,10 @@
|
|||||||
|
|
||||||
static const bigtime_t kRequestTimeout = 100000LL;
|
static const bigtime_t kRequestTimeout = 100000LL;
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
using std::nothrow;
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark - UDPPacket
|
// #pragma mark - UDPPacket
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user