deprecate pvCopy.h

This commit is contained in:
Michael Davidsaver
2018-10-16 20:41:13 -07:00
parent c3b0b49e3f
commit f0fa8a2481
3 changed files with 9 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
#include <stdexcept>
#include <memory>
#include <compilerDependencies.h>
#include <shareLib.h>
#include <pv/pvData.h>
@@ -58,7 +59,7 @@ typedef std::tr1::shared_ptr<CopyStructureNode> CopyStructureNodePtr;
* Class that manages one or more PVStructures that holds an arbitrary subset of the fields
* in another PVStructure called master.
*/
class epicsShareClass PVCopy :
class epicsShareClass EPICS_DEPRECATED PVCopy :
public std::tr1::enable_shared_from_this<PVCopy>
{
public:

View File

@@ -13,6 +13,9 @@
#include <sstream>
#include <epicsThread.h>
#include <compilerDependencies.h>
#undef EPICS_DEPRECATED
#define EPICS_DEPRECATED
#define epicsExportSharedSymbols

View File

@@ -20,6 +20,10 @@
#include <epicsUnitTest.h>
#include <testMain.h>
#include <compilerDependencies.h>
#undef EPICS_DEPRECATED
#define EPICS_DEPRECATED
#include <pv/standardField.h>
#include <pv/standardPVField.h>
#include <pv/convert.h>