diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-20 18:59:18 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-21 00:36:06 +0000 |
commit | eeb3bceceacff5807011c83eeaa1f1497429b3ab (patch) | |
tree | 93a1697711c6c8114294da163b58bb975c84306e /lib/persistence.h | |
parent | Add SAXParse base class (diff) | |
download | ilt-eeb3bceceacff5807011c83eeaa1f1497429b3ab.tar.bz2 ilt-eeb3bceceacff5807011c83eeaa1f1497429b3ab.tar.xz ilt-eeb3bceceacff5807011c83eeaa1f1497429b3ab.zip |
Make sure an object is created before remembering it
Diffstat (limited to 'lib/persistence.h')
-rw-r--r-- | lib/persistence.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/persistence.h b/lib/persistence.h index c311067..dbaee44 100644 --- a/lib/persistence.h +++ b/lib/persistence.h @@ -348,6 +348,7 @@ namespace Persistence { } if constexpr (shared) { if (mbr == "p.id"sv) { + make_default_as_needed(this->v); return this->template make_s<RememberObjectById>(this->v); } } |