Experimental Physics and Industrial Control System
This defines method destroy.
Most or all uses of destroy have been deprecated.
But warnings like the following appear
../pv/channelProviderLocal.h:84:46: warning: ‘virtual void
epics::pvDatabase::ChannelProviderLocal::destroy()’ is deprecated
[-Wdeprecated-declarations]
virtual void destroy() EPICS_DEPRECATED {};
But if the destroy method does not appear then the code will not compile.
If the following change is made to destroyable.h then the code will compile.
mrk> git diff src/utils/pv/destroyable.h
diff --git a/src/utils/pv/destroyable.h b/src/utils/pv/destroyable.h
index f9afc47..2c38eea 100644
--- a/src/utils/pv/destroyable.h
+++ b/src/utils/pv/destroyable.h
@@ -27,7 +27,7 @@ namespace epics { namespace pvAccess {
/**
* Destroy this instance.
*/
- virtual void destroy() = 0;
+ virtual void destroy() {}
protected:
virtual ~Destroyable() {}
mrk>
Michael,
Can this change be made?
Marty
- Replies:
- Re: pvAccessCPP: destroyable.h Michael Davidsaver via Core-talk
- Navigate by Date:
- Prev:
Jenkins build is back to normal : epics-base-7.0-win64-test #7 APS Jenkins via Core-talk
- Next:
Re: pvAccessCPP: destroyable.h Michael Davidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Jenkins build is back to normal : epics-base-7.0-win64s-test #7 APS Jenkins via Core-talk
- Next:
Re: pvAccessCPP: destroyable.h Michael Davidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024