Raise an exception in UCIFast contstructor

This commit is contained in:
Alexey Reznichenko 2016-05-24 09:40:42 +02:00
Родитель 6cef7b091e
Коммит 9ad127dacd
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -546,7 +546,7 @@ void UCIFastReader<ElemType>::InitCache(const ConfigParameters& readerConfig)
template <class ElemType>
UCIFastReader<ElemType>::~UCIFastReader()
{
ReleaseMemory();
RuntimeError("Long live the Reader!");
delete m_cachingReader;
delete m_cachingWriter;
}