diff options
Diffstat (limited to 'src/lib/netlist/plib/pexception.h')
-rw-r--r-- | src/lib/netlist/plib/pexception.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/netlist/plib/pexception.h b/src/lib/netlist/plib/pexception.h index a092d98ee92..33a263c8a02 100644 --- a/src/lib/netlist/plib/pexception.h +++ b/src/lib/netlist/plib/pexception.h @@ -21,7 +21,7 @@ class pexception : public std::exception { public: explicit pexception(const pstring text); - pexception(const pexception &e) : std::exception(e) { m_text = e.m_text; } + pexception(const pexception &e) : std::exception(e), m_text(e.m_text) { } virtual ~pexception() noexcept; @@ -34,7 +34,7 @@ private: class file_e : public plib::pexception { public: - explicit file_e(const pstring fmt, const pstring &filename); + file_e(const pstring &fmt, const pstring &filename); file_e(const file_e &e) : pexception(e) { } virtual ~file_e() noexcept; }; @@ -86,7 +86,7 @@ public: class fpexception_e : public pexception { public: - fpexception_e(const pstring &text); + explicit fpexception_e(const pstring &text); fpexception_e(const fpexception_e &e) : pexception(e) { } virtual ~fpexception_e() noexcept; }; @@ -105,7 +105,7 @@ static const unsigned FP_ALL = 0x0001f; class fpsignalenabler { public: - fpsignalenabler(unsigned fpexceptions); + explicit fpsignalenabler(unsigned fpexceptions); ~fpsignalenabler(); /* is the functionality supported ? */ |