Added TODO message on the throw dtors

This commit is contained in:
Jeffrey Walton 2015-07-27 01:22:41 -04:00
parent 9533f52714
commit f8fc7562f1
2 changed files with 2 additions and 0 deletions

View File

@ -259,6 +259,7 @@ public:
AlgorithmParametersBase(const char *name, bool throwIfNotUsed)
: m_name(name), m_throwIfNotUsed(throwIfNotUsed), m_used(false) {}
// TODO: determine a library policy; implement the policy.
virtual ~AlgorithmParametersBase() CRYPTOPP_THROW
{
#ifdef CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE

View File

@ -32,6 +32,7 @@ ThreadLocalStorage::ThreadLocalStorage()
#endif
}
// TODO: determine a library policy; implement the policy.
ThreadLocalStorage::~ThreadLocalStorage() CRYPTOPP_THROW
{
#ifdef HAS_WINTHREADS