forked from qt-creator/qt-creator
Botan: Add missing noexcept specification.
Change-Id: I0f40b31e54cfe26703256114c3c0409a28b47160 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
4
src/libs/3rdparty/botan/botan.cpp
vendored
4
src/libs/3rdparty/botan/botan.cpp
vendored
@@ -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
|
||||
|
2
src/libs/3rdparty/botan/botan.h
vendored
2
src/libs/3rdparty/botan/botan.h
vendored
@@ -390,7 +390,7 @@ class BOTAN_DLL Allocator
|
||||
*/
|
||||
virtual void destroy() {}
|
||||
|
||||
virtual ~Allocator() {}
|
||||
virtual ~Allocator() noexcept(false) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user