From 94be25ae978addec556fc9c576b4c4aefe65b88e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 10 May 2016 22:10:49 -0400 Subject: [PATCH] Remove duplicate definitions of LTPerror and LTPmodelError --- src/transport/LiquidTranInteraction.cpp | 12 ------------ src/transport/LiquidTransportParams.cpp | 8 -------- 2 files changed, 20 deletions(-) diff --git a/src/transport/LiquidTranInteraction.cpp b/src/transport/LiquidTranInteraction.cpp index d788ad14d..593910f25 100644 --- a/src/transport/LiquidTranInteraction.cpp +++ b/src/transport/LiquidTranInteraction.cpp @@ -13,18 +13,6 @@ using namespace std; namespace Cantera { -/** - * Exception thrown if an error is encountered while reading the - * transport database. - */ -class LTPError : public CanteraError -{ -public: - explicit LTPError(const std::string& msg) - : CanteraError("LTPspecies", - "error parsing transport data: " - + msg + "\n") {} -}; /** * Exception thrown if an error is encountered while reading the diff --git a/src/transport/LiquidTransportParams.cpp b/src/transport/LiquidTransportParams.cpp index 23068c1bc..68edad7fe 100644 --- a/src/transport/LiquidTransportParams.cpp +++ b/src/transport/LiquidTransportParams.cpp @@ -8,14 +8,6 @@ using namespace std; namespace Cantera { -//! Exception thrown if an error is encountered while reading the transport database. -class LTPmodelError : public CanteraError -{ -public: - explicit LTPmodelError(const std::string& msg) : - CanteraError("LTPspecies", "error parsing transport data: " + msg + "\n") { - } -}; LiquidTransportParams::LiquidTransportParams() : viscosity(0),