This commit is contained in:
2021-09-02 21:36:26 +02:00
parent a1b3b0140f
commit 427a3a9f04
7 changed files with 12 additions and 25 deletions

View File

@@ -2,11 +2,6 @@
namespace usql {
Exception::Exception(const std::string &msg) : std::runtime_error(msg) {
cause = msg;
}
Exception::Exception(const std::string msg) : std::runtime_error(msg) {}
const char *Exception::what() const noexcept { return cause.c_str(); }
}
} // namespace