Changeset 51908 in webkit for trunk/JavaScriptCore/wtf/FastMalloc.h
- Timestamp:
- Dec 9, 2009, 11:00:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/FastMalloc.h
r51905 r51908 217 217 #if !PLATFORM(QT) 218 218 219 #if COMPILER(MSVC) 220 #pragma warning(push) 221 #pragma warning(disable: 4290) // Disable the C++ exception specification ignored warning. 222 #endif 219 223 WTF_PRIVATE_INLINE void* operator new(size_t size) throw (std::bad_alloc) { return fastMalloc(size); } 220 224 WTF_PRIVATE_INLINE void* operator new(size_t size, const std::nothrow_t&) throw() { return fastMalloc(size); } … … 225 229 WTF_PRIVATE_INLINE void operator delete[](void* p) throw() { fastFree(p); } 226 230 WTF_PRIVATE_INLINE void operator delete[](void* p, const std::nothrow_t&) throw() { fastFree(p); } 231 #if COMPILER(MSVC) 232 #pragma warning(pop) 233 #endif 227 234 228 235 #endif
Note:
See TracChangeset
for help on using the changeset viewer.