summaryrefslogtreecommitdiffstats
path: root/depends/util/src/cmdutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'depends/util/src/cmdutils.cpp')
-rw-r--r--depends/util/src/cmdutils.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/depends/util/src/cmdutils.cpp b/depends/util/src/cmdutils.cpp
index 80ba719d..b9cab717 100644
--- a/depends/util/src/cmdutils.cpp
+++ b/depends/util/src/cmdutils.cpp
@@ -463,21 +463,8 @@ void Parser::getPrefix(QString &opt, QString &flag)
// ParsingError
ParsingError::ParsingError(const QString &what)
+:std::runtime_error(what.toStdString())
{
- m_what = what;
-}
-ParsingError::ParsingError(const ParsingError &e)
-{
- m_what = e.m_what;
-}
-
-const char *ParsingError::what() const throw()
-{
- return m_what.toLocal8Bit().constData();
-}
-QString ParsingError::qwhat() const
-{
- return m_what;
}
}