]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_utilities/lib/trackingallocator.cpp
Security-59754.60.13.tar.gz
[apple/security.git] / OSX / libsecurity_utilities / lib / trackingallocator.cpp
index 33650037c194026f5fc601f0b62a2a6e6c27d4ba..bab8ab471f615facedff4b07949cb7bf5e4fd0db 100644 (file)
@@ -43,20 +43,20 @@ TrackingAllocator::~TrackingAllocator()
 // Standard allocation operations.
 // We pass them down to our subAllocator and keep track of what we've got.
 //
-void *TrackingAllocator::malloc(size_t inSize) throw(std::bad_alloc)
+void *TrackingAllocator::malloc(size_t inSize)
 {
        void *anAddress = subAllocator.malloc(inSize);
        mAllocSet.insert(anAddress);
        return anAddress;
 }
 
-void TrackingAllocator::free(void *inAddress) throw()
+void TrackingAllocator::free(void *inAddress) _NOEXCEPT
 {
        subAllocator.free(inAddress);
        mAllocSet.erase(inAddress);
 }
 
-void *TrackingAllocator::realloc(void *inAddress, size_t inNewSize) throw(std::bad_alloc)
+void *TrackingAllocator::realloc(void *inAddress, size_t inNewSize)
 {
        void *anAddress = subAllocator.realloc(inAddress, inNewSize);
        if (anAddress != inAddress)