From 46fcf78f170f8f7d95a336e5425bf326cf994465 Mon Sep 17 00:00:00 2001 From: hwinkel Date: Fri, 7 Jul 2023 09:29:35 +0200 Subject: [PATCH] ADD: added isValid() func to Data template --- include/SimCore/data.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/SimCore/data.hpp b/include/SimCore/data.hpp index b47ca75..9c52a99 100644 --- a/include/SimCore/data.hpp +++ b/include/SimCore/data.hpp @@ -34,11 +34,17 @@ namespace SimCore return data_; } + [[deprecated("isValid() instead")]] bool getValidity() { return valid_; } + bool isValid() + { + return valid_; + } + std::uint64_t getWriteTime() { return writeTime_;