From 04255a6cd40fe7145ee6ff09602cc7c50f1a334e Mon Sep 17 00:00:00 2001 From: Andrea Michelotti <amichelotti@lnf.infn.it> Date: Mon, 17 Oct 2022 23:27:01 +0200 Subject: [PATCH] epics compat --- chaos/common/data/CDataWrapper.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chaos/common/data/CDataWrapper.h b/chaos/common/data/CDataWrapper.h index 154e1580d..d84d14f47 100644 --- a/chaos/common/data/CDataWrapper.h +++ b/chaos/common/data/CDataWrapper.h @@ -37,8 +37,12 @@ namespace epics{ namespace pvData{ class Structure; - typedef ChaosSharedPtr<const Structure> StructureConstPtr; +#if __cplusplus >= 201103L + typedef std::shared_ptr<const Structure> StructureConstPtr; +#else + typedef std::tr1::shared_ptr<const Structure> StructureConstPtr; +#endif } } #endif -- GitLab