diff --git a/types/try_type.toml b/types/try_type.toml index 2dcbefd..08b002c 100644 --- a/types/try_type.toml +++ b/types/try_type.toml @@ -20,6 +20,7 @@ template void getSizeType(const %1% &container, size_t& returnArg) { SAVE_SIZE(sizeof(%1%)); + SAVE_DATA((uintptr_t)&container); if (container.hasValue()) { SAVE_DATA((uintptr_t)(&(container.value()))); getSizeType(container.value(), returnArg);