diff options
| author | Stefan Boberg <[email protected]> | 2021-09-03 10:53:07 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-03 10:53:07 +0200 |
| commit | 82394c6f28c6fed9b1cbde889d72f61b66be50ba (patch) | |
| tree | 42fd79b3443a64db8476761a00a125f471379a85 /zencore/include | |
| parent | Disallow copying of ChunkingLinearAllocator (diff) | |
| download | zen-82394c6f28c6fed9b1cbde889d72f61b66be50ba.tar.xz zen-82394c6f28c6fed9b1cbde889d72f61b66be50ba.zip | |
Moved out AssertException constructor/destructor into cpp
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/zencore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h index 65458e932..206046f0b 100644 --- a/zencore/include/zencore/zencore.h +++ b/zencore/include/zencore/zencore.h @@ -55,7 +55,8 @@ namespace zen { class AssertException : public std::exception { public: - AssertException(const char* Msg) : m_Msg(Msg) {} + AssertException(const char* Msg); + ~AssertException(); [[nodiscard]] virtual char const* what() const override { return m_Msg.c_str(); } |