Added CRYPTOPP_THROW to ThreadLocalStorage dtor

pull/35/head
Jeffrey Walton 2015-07-27 01:19:27 -04:00
parent bd3a67034d
commit 9533f52714
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#ifndef CRYPTOPP_IMPORTS
#ifdef THREADS_AVAILABLE
#include "cryptlib.h"
#include "trdlocal.h"
#ifdef HAS_WINTHREADS
@ -31,7 +32,7 @@ ThreadLocalStorage::ThreadLocalStorage()
#endif
}
ThreadLocalStorage::~ThreadLocalStorage()
ThreadLocalStorage::~ThreadLocalStorage() CRYPTOPP_THROW
{
#ifdef HAS_WINTHREADS
if (!TlsFree(m_index))