Add missing "using std::nothrow"

This commit is contained in:
Jonathan Schleifer 2015-11-07 18:06:38 +01:00
parent 5213914cec
commit 95d4ed6778
No known key found for this signature in database
GPG Key ID: 33E61C63EB4AE7B5
13 changed files with 34 additions and 0 deletions

View File

@ -24,6 +24,10 @@
# define TRACE(x) ;
#endif
using std::nothrow;
// constructor
FileMapDisk::FileMapDisk()
:

View File

@ -15,6 +15,9 @@
#include <stdio.h>
using std::nothrow;
namespace FFS {

View File

@ -11,6 +11,9 @@
#include <unistd.h>
using std::nothrow;
namespace FFS {

View File

@ -18,6 +18,7 @@
using namespace FFS;
using std::nothrow;
Volume::Volume(boot::Partition *partition)

View File

@ -19,6 +19,9 @@
extern Node *get_node_from(int fd);
using std::nothrow;
namespace BFS {

View File

@ -18,6 +18,7 @@
using namespace BFS;
using std::nothrow;
class CachedBlock {

View File

@ -27,6 +27,7 @@
using namespace BFS;
using std::nothrow;
Volume::Volume(boot::Partition *partition)

View File

@ -26,6 +26,9 @@
#define TRACE(x) do {} while (0)
using std::nothrow;
namespace FATFS {

View File

@ -24,6 +24,7 @@
using namespace FATFS;
using std::nothrow;
Volume::Volume(boot::Partition *partition)

View File

@ -37,6 +37,10 @@ static const uint32 kFloppyArchiveOffset = BOOT_ARCHIVE_IMAGE_OFFSET * 1024;
// defined at build time, see build/jam/BuildSetup
static const size_t kTarRegionSize = 8 * 1024 * 1024; // 8 MB
using std::nothrow;
namespace TarFS {

View File

@ -16,6 +16,9 @@
#include <boot/net/TCP.h>
using std::nothrow;
// sNetStack
NetStack *NetStack::sNetStack = NULL;

View File

@ -18,6 +18,10 @@
static const bigtime_t kRequestTimeout = 100000LL;
using std::nothrow;
#if __BYTE_ORDER == __LITTLE_ENDIAN
static inline

View File

@ -22,6 +22,9 @@
#endif
using std::nothrow;
// #pragma mark - UDPPacket