MlError does not override what()

This commit is contained in:
2021-05-22 07:56:28 +02:00
parent cd8838c37d
commit 858db14e6d
2 changed files with 1 additions and 8 deletions

3
ml.h
View File

@@ -83,9 +83,6 @@ public:
// Get the printable error description.
std::string description() const;
// inherited from std::exception
virtual const char* what() const noexcept;
private:
MlValue *cause;
MlEnvironment env;