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:
Michael Davidsaver
2018-05-21 11:12:52 -07:00
parent 499c03265f
commit c43486791e
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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);
+2 -1
View File
@@ -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)
};
/**