From 962e48d3ffb90308513fd8908d73753049a27f3d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Jun 2015 04:30:28 +0300 Subject: better error messages + refactoring --- cxx/include/aesnixx/error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cxx/include/aesnixx') diff --git a/cxx/include/aesnixx/error.hpp b/cxx/include/aesnixx/error.hpp index dd908c5..4c1fc98 100644 --- a/cxx/include/aesnixx/error.hpp +++ b/cxx/include/aesnixx/error.hpp @@ -23,7 +23,7 @@ namespace aesni public: ErrorDetailsThrowsInDestructor() { - aesni_initialize_error_details(get()); + aesni_success(get()); } ~ErrorDetailsThrowsInDestructor() -- cgit v1.2.3