diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-02 03:53:23 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-02 03:53:23 +0100 |
commit | 9a0ac7c7fd06a60f0e61b88828eaa59c0ee30fdd (patch) | |
tree | d8166bea565e13e6337b4bd3dc2fb8be027d69b5 /src | |
parent | e76fae1b2f007efc58ef46ecc248d271676c6673 (diff) |
serialize: work on recovering from corrupted saves
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/exception.cpp | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c994aacb..7af9439e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,7 @@ target_link_libraries( Magnum::GL Magnum::Magnum Magnum::Shaders + fmt::fmt ) if(FLOORMAT_PRECOMPILED-HEADERS) target_precompile_headers(${self} PRIVATE precomp.hpp) diff --git a/src/exception.cpp b/src/exception.cpp new file mode 100644 index 00000000..4855e240 --- /dev/null +++ b/src/exception.cpp @@ -0,0 +1,7 @@ +#include "compat/exception.hpp" + +namespace floormat { + +const char* exception::what() const noexcept { return buf.data(); } + +} // namespace floormat |