summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pexception.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/pexception.h')
-rw-r--r--src/lib/netlist/plib/pexception.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/netlist/plib/pexception.h b/src/lib/netlist/plib/pexception.h
index 22b67925b7e..703e407eae7 100644
--- a/src/lib/netlist/plib/pexception.h
+++ b/src/lib/netlist/plib/pexception.h
@@ -30,19 +30,6 @@ namespace plib {
[[noreturn]] void passert_fail(const char *assertion,
const char *file, int lineno, const char *msg) noexcept;
- /// \brief throw an exception.
- ///
- /// throws an exception E. The purpose is to clearly identify exception
- /// throwing in the code
- ///
- /// \tparam E Type of exception to be thrown
- ///
- template<typename E, typename... Args>
- [[noreturn]] static inline void pthrow(Args&&... args) noexcept(false)
- {
- throw E(std::forward<Args>(args)...);
- }
-
//============================================================
// exception base
//============================================================