diff --git a/include/DRAMUtils/memspec/MemSpec.h b/include/DRAMUtils/memspec/MemSpec.h index d963672..13277d0 100644 --- a/include/DRAMUtils/memspec/MemSpec.h +++ b/include/DRAMUtils/memspec/MemSpec.h @@ -130,6 +130,7 @@ inline std::optional parse_memspec_from_json(const json } catch (std::exception&) { + return std::nullopt; } return std::nullopt;