Proper warning disabling

This commit is contained in:
Alexey Pelykh 2013-02-10 09:41:46 +02:00
parent 5d35d64c80
commit 9c632b778b

View File

@ -221,16 +221,10 @@ typedef intptr_t __attribute__((__may_alias__)) intptr_alias_t;
} 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&