diff options
Diffstat (limited to 'salhelper')
-rw-r--r-- | salhelper/source/simplereferenceobject.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/salhelper/source/simplereferenceobject.cxx b/salhelper/source/simplereferenceobject.cxx index f2ec5a792477..95e8b6f699d9 100644 --- a/salhelper/source/simplereferenceobject.cxx +++ b/salhelper/source/simplereferenceobject.cxx @@ -62,15 +62,15 @@ void SimpleReferenceObject::operator delete(void * pPtr, std::nothrow_t const &) #ifdef _MSC_VER /* This operator is supposed to be unimplemented, but that now leads - * to compilation and/or linking errors with MSVC2008. (Don't know - * about MSVC2010.) As it can be left unimplemented just fine with - * gcc, presumably it is never called. So do implement it then to - * avoid the compilation and/or linking errors, but make it crash - * intentionally if called. + * to compilation and/or linking errors with MSVC2008. Problem still + * there with MSVC2013. As it can be left unimplemented just fine with + * other compilers, presumably it is never called. So do implement it + * then to avoid the compilation and/or linking errors, but make it + * crash intentionally if called. */ void SimpleReferenceObject::operator delete[](void * /* pPtr */) { - free(NULL); + abort(); } #endif |