mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Disable operator new warning
This commit is contained in:
parent
dd14b10d8d
commit
5d35d64c80
@ -220,8 +220,17 @@ typedef intptr_t __attribute__((__may_alias__)) intptr_alias_t;
|
||||
type name; \
|
||||
} MAKE_NAME(resource_)(name);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning( push )
|
||||
# pragma warning( disable : 4291 )
|
||||
#endif
|
||||
|
||||
inline void* operator new(size_t, void* p) throw() { return p; }
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning( pop )
|
||||
#endif
|
||||
|
||||
namespace vm {
|
||||
|
||||
inline intptr_alias_t&
|
||||
|
Loading…
Reference in New Issue
Block a user