mirror of
https://github.com/corda/corda.git
synced 2025-05-23 10:44:10 +00:00
Proper warning disabling
This commit is contained in:
parent
5d35d64c80
commit
9c632b778b
@ -221,16 +221,10 @@ typedef intptr_t __attribute__((__may_alias__)) intptr_alias_t;
|
|||||||
} MAKE_NAME(resource_)(name);
|
} MAKE_NAME(resource_)(name);
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# pragma warning( push )
|
|
||||||
# pragma warning( disable : 4291 )
|
# pragma warning( disable : 4291 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline void* operator new(size_t, void* p) throw() { return p; }
|
inline void* operator new(size_t, void* p) throw() { return p; }
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
# pragma warning( pop )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace vm {
|
namespace vm {
|
||||||
|
|
||||||
inline intptr_alias_t&
|
inline intptr_alias_t&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user