mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 05:53:29 +02:00
Remove the noexcept
This commit is contained in:
parent
6938948501
commit
3f67f05b02
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ namespace ktx {
|
|||
class ReaderException: public std::exception {
|
||||
public:
|
||||
ReaderException(const std::string& explanation) : _explanation("KTX deserialization error: " + explanation) {}
|
||||
const char* what() const noexcept override { return _explanation.c_str(); }
|
||||
const char* what() const override { return _explanation.c_str(); }
|
||||
private:
|
||||
const std::string _explanation;
|
||||
};
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace ktx {
|
|||
class WriterException : public std::exception {
|
||||
public:
|
||||
WriterException(const std::string& explanation) : _explanation("KTX serialization error: " + explanation) {}
|
||||
const char* what() const noexcept override { return _explanation.c_str(); }
|
||||
const char* what() const override { return _explanation.c_str(); }
|
||||
private:
|
||||
const std::string _explanation;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue