prevent Field/PVField from being copied
I don't think this was ever intended to be possible, but it was...
This commit is contained in:
@@ -260,6 +260,7 @@ private:
|
||||
PostHandlerPtr postHandler;
|
||||
friend class PVDataCreate;
|
||||
friend class PVStructure;
|
||||
EPICS_NOT_COPYABLE(PVField)
|
||||
};
|
||||
|
||||
epicsShareExtern std::ostream& operator<<(std::ostream& o, const PVField& f);
|
||||
|
||||
@@ -354,8 +354,8 @@ private:
|
||||
friend class StandardField;
|
||||
friend class BasePVStructureArray;
|
||||
friend class FieldCreate;
|
||||
|
||||
struct Deleter{void operator()(Field *p){delete p;}};
|
||||
EPICS_NOT_COPYABLE(Field)
|
||||
};
|
||||
|
||||
epicsShareExtern std::ostream& operator<<(std::ostream& o, const Field& field);
|
||||
@@ -743,6 +743,7 @@ private:
|
||||
|
||||
friend class FieldCreate;
|
||||
friend class Union;
|
||||
EPICS_NOT_COPYABLE(Structure)
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user