diff options
author | 2020-01-20 21:15:22 +0100 | |
---|---|---|
committer | 2020-01-20 21:15:22 +0100 | |
commit | 9e272e4b551d14e7032913f0aa972e2dd45fb4bd (patch) | |
tree | b6c7c56b187f18f33eaba2f585a04ef433211ecf /src/lib/netlist/plib/poptions.cpp | |
parent | 81703afe74615ec5cc399dd91946e4d3b05d83a7 (diff) |
netlist: code maintenance. (nw)
- remove pthrow trampline as proposed by Vas.
- identify throwing code by adding noexcept(false)
- move "connected term" information to setup code.
- srcclean
Diffstat (limited to 'src/lib/netlist/plib/poptions.cpp')
-rw-r--r-- | src/lib/netlist/plib/poptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/poptions.cpp b/src/lib/netlist/plib/poptions.cpp index 6f6ace0599c..6746e453fae 100644 --- a/src/lib/netlist/plib/poptions.cpp +++ b/src/lib/netlist/plib/poptions.cpp @@ -75,7 +75,7 @@ namespace plib { { if (m_other_args != nullptr) { - pthrow<pexception>("other args can only be specified once!"); + throw pexception("other args can only be specified once!"); } else { @@ -83,7 +83,7 @@ namespace plib { } } else - pthrow<pexception>("found option with neither short or long tag!" ); + throw pexception("found option with neither short or long tag!" ); } } } |