From da392728d4a0ea672bdde62ce0003aaab26b5e1a Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 5 Jun 2018 16:07:47 +0200 Subject: [PATCH] spice_value.cpp: replace std::invalid_argument by KI_PARAM_ERROR (replacement forgotten in commit a288d6199) see commit a288d6199 for the reasons of this replacement. --- eeschema/sim/spice_value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sim/spice_value.cpp b/eeschema/sim/spice_value.cpp index 42b0d8ec54..d31eb7e115 100644 --- a/eeschema/sim/spice_value.cpp +++ b/eeschema/sim/spice_value.cpp @@ -76,7 +76,7 @@ SPICE_VALUE::SPICE_VALUE( const wxString& aString ) case 't': m_prefix = PFX_TERA; break; default: - throw std::invalid_argument( _( "Invalid unit prefix" ) ); + throw KI_PARAM_ERROR( _( "Invalid unit prefix" ) ); } }