summaryrefslogtreecommitdiff
path: root/lib/persistence.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/persistence.h')
-rw-r--r--lib/persistence.h1
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);
}
}