aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-03 10:53:07 +0200
committerStefan Boberg <[email protected]>2021-09-03 10:53:07 +0200
commit82394c6f28c6fed9b1cbde889d72f61b66be50ba (patch)
tree42fd79b3443a64db8476761a00a125f471379a85 /zencore/include
parentDisallow copying of ChunkingLinearAllocator (diff)
downloadzen-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.h3
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(); }