From 8b9499160ae17f9f78e9f676086bdd2d70b52f6a Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sun, 6 Nov 2016 00:07:50 -0400 Subject: [PATCH] [clib] Remove wrapper for deprecated 'showErrors' function --- include/cantera/clib/ct.h | 1 - src/clib/ct.cpp | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/include/cantera/clib/ct.h b/include/cantera/clib/ct.h index 81f7f92d6..f780e61b0 100644 --- a/include/cantera/clib/ct.h +++ b/include/cantera/clib/ct.h @@ -153,7 +153,6 @@ extern "C" { const double* state2, double delta, double* fluxes); CANTERA_CAPI int getCanteraError(int buflen, char* buf); - CANTERA_CAPI int showCanteraErrors(); CANTERA_CAPI int setLogWriter(void* logger); CANTERA_CAPI int addCanteraDirectory(size_t buflen, const char* buf); CANTERA_CAPI int ct_getDataDirectories(int buflen, char* buf, const char* sep); diff --git a/src/clib/ct.cpp b/src/clib/ct.cpp index 0f888cd7d..8affdc6ff 100644 --- a/src/clib/ct.cpp +++ b/src/clib/ct.cpp @@ -1400,16 +1400,6 @@ extern "C" { } } - int showCanteraErrors() - { - try { - showErrors(); - return 0; - } catch (...) { - return handleAllExceptions(-1, ERR); - } - } - int addCanteraDirectory(size_t buflen, const char* buf) { try {