Commit 1239245f authored by Christian Kandeler's avatar Christian Kandeler

Botan: Add missing noexcept specification.

Change-Id: I0f40b31e54cfe26703256114c3c0409a28b47160
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 605ea627
......@@ -379,7 +379,7 @@ class Mutex
* Unlock the mutex
*/
virtual void unlock() = 0;
virtual ~Mutex() {}
virtual ~Mutex() noexcept(false) {}
};
/**
......@@ -3296,7 +3296,7 @@ void* MemoryMapping_Allocator::alloc_block(size_t n)
throw MemoryMapping_Failed("Could not unlink temporary file");
}
~TemporaryFile()
~TemporaryFile() noexcept(false)
{
/*
* We can safely close here, because post-mmap the file
......@@ -390,7 +390,7 @@ class BOTAN_DLL Allocator
*/
virtual void destroy() {}
virtual ~Allocator() {}
virtual ~Allocator() noexcept(false) {}
};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment