Commit b57a35ab authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Botan: Fix compilation with MSVC2013

noexcept is not supported.

Change-Id: Iee6f80a3e99191ccc92637aea42c5043d4f2d212
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent ea520e3f
...@@ -379,7 +379,7 @@ class Mutex ...@@ -379,7 +379,7 @@ class Mutex
* Unlock the mutex * Unlock the mutex
*/ */
virtual void unlock() = 0; virtual void unlock() = 0;
virtual ~Mutex() noexcept(false) {} virtual ~Mutex() Q_DECL_NOEXCEPT_EXPR(false) {}
}; };
/** /**
...@@ -3296,7 +3296,7 @@ void* MemoryMapping_Allocator::alloc_block(size_t n) ...@@ -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() noexcept(false) ~TemporaryFile() Q_DECL_NOEXCEPT_EXPR(false)
{ {
/* /*
* We can safely close here, because post-mmap the file * We can safely close here, because post-mmap the file
...@@ -390,7 +390,7 @@ class BOTAN_DLL Allocator ...@@ -390,7 +390,7 @@ class BOTAN_DLL Allocator
*/ */
virtual void destroy() {} virtual void destroy() {}
virtual ~Allocator() noexcept(false) {} virtual ~Allocator() Q_DECL_NOEXCEPT_EXPR(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