aboutsummaryrefslogtreecommitdiff
path: root/src/jsonable.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-04-20 12:40:37 -0400
committerYour Name <you@example.com>2021-04-20 12:40:37 -0400
commitcd57ad6e208728bafcbc8c7d7b85d88603706978 (patch)
tree7cb0fc9511a0e8124e497d53edbe38d646dd8299 /src/jsonable.h
parent2cae1aa33f80ce0844fb54a84ce103146a7fe7ad (diff)
downloaddmtool-cd57ad6e208728bafcbc8c7d7b85d88603706978.tar.gz
dmtool-cd57ad6e208728bafcbc8c7d7b85d88603706978.tar.bz2
dmtool-cd57ad6e208728bafcbc8c7d7b85d88603706978.zip
Updated natural armor and skills
Diffstat (limited to 'src/jsonable.h')
-rw-r--r--src/jsonable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jsonable.h b/src/jsonable.h
index 4be2bec..d6866b8 100644
--- a/src/jsonable.h
+++ b/src/jsonable.h
@@ -8,6 +8,7 @@ class Jsonable {
public:
virtual nlohmann::json toJson(void) const = 0;
operator nlohmann::json() const {return toJson();}
+ virtual ~Jsonable() {}
};
template<typename T> std::vector<T> json2vec(const nlohmann::json& data) {