Botan: Add missing noexcept specification.

Change-Id: I0f40b31e54cfe26703256114c3c0409a28b47160
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Christian Kandeler
2016-05-09 11:57:55 +02:00
parent 605ea627cc
commit 1239245f57
2 changed files with 3 additions and 3 deletions

View File

@@ -379,7 +379,7 @@ class Mutex
* Unlock the mutex * Unlock the mutex
*/ */
virtual void unlock() = 0; 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"); throw MemoryMapping_Failed("Could not unlink temporary file");
} }
~TemporaryFile() ~TemporaryFile() noexcept(false)
{ {
/* /*
* We can safely close here, because post-mmap the file * We can safely close here, because post-mmap the file

View File

@@ -390,7 +390,7 @@ class BOTAN_DLL Allocator
*/ */
virtual void destroy() {} virtual void destroy() {}
virtual ~Allocator() {} virtual ~Allocator() noexcept(false) {}
}; };
} }