mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -07:00
Port to Windows
This commit is contained in:
parent
43ddf619ed
commit
5faa801331
52 changed files with 616 additions and 143 deletions
|
@ -25,11 +25,11 @@
|
|||
class Exception : public std::exception
|
||||
{
|
||||
private:
|
||||
QString msg;
|
||||
QByteArray msg;
|
||||
|
||||
public:
|
||||
explicit Exception(const QString &msg) : msg(msg) {}
|
||||
const char *what() const noexcept override { return msg.toLocal8Bit().constData(); }
|
||||
explicit Exception(const QString &msg) : msg(msg.toLocal8Bit()) {}
|
||||
const char *what() const noexcept override { return msg.constData(); }
|
||||
};
|
||||
|
||||
#endif // CHIAKI_EXCEPTION_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue