summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/poptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/poptions.cpp')
-rw-r--r--src/lib/netlist/plib/poptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/poptions.cpp b/src/lib/netlist/plib/poptions.cpp
index 06c2115d40a..941b55c5b94 100644
--- a/src/lib/netlist/plib/poptions.cpp
+++ b/src/lib/netlist/plib/poptions.cpp
@@ -82,7 +82,7 @@ namespace plib {
{
if (m_other_args != nullptr)
{
- throw pexception("other args can only be specified once!");
+ pthrow<pexception>("other args can only be specified once!");
}
else
{
@@ -90,7 +90,7 @@ namespace plib {
}
}
else
- throw pexception("found option with neither short or long tag!" );
+ pthrow<pexception>("found option with neither short or long tag!" );
}
}
}