summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pexception.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-09-13 12:44:05 +0200
committer couriersud <couriersud@gmx.org>2020-09-13 12:44:05 +0200
commit8fb35bf34f8ffb7cf1931384d3877f071e2a87d1 (patch)
treecd06f31e93478c1ccbd2729f5a113c2306ea0b7b /src/lib/netlist/plib/pexception.h
parente05a9000911481f48922e86a9bb36310dbfdb6fb (diff)
parent06c504f651478074ad87a4b90047f29fb8598420 (diff)
Merge remote-tracking branch 'origin/master' into netlist-generated
Diffstat (limited to 'src/lib/netlist/plib/pexception.h')
-rw-r--r--src/lib/netlist/plib/pexception.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/pexception.h b/src/lib/netlist/plib/pexception.h
index 2023fb91c38..709f8810b83 100644
--- a/src/lib/netlist/plib/pexception.h
+++ b/src/lib/netlist/plib/pexception.h
@@ -40,10 +40,10 @@ namespace plib {
explicit pexception(const pstring &text);
const pstring &text() const noexcept { return m_text; }
- const char* what() const noexcept override { return putf8string(m_text).c_str(); }
+ const char* what() const noexcept override { return m_text.c_str(); }
private:
- pstring m_text;
+ putf8string m_text;
};
class file_e : public plib::pexception