Remove the noexcept

This commit is contained in:
samcake 2017-02-22 13:06:34 -08:00
parent 6938948501
commit 3f67f05b02
2 changed files with 2 additions and 2 deletions

View file

@ -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;
};

View file

@ -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;
};