make PVUnion::UNDEFINED_INDEX const
This commit is contained in:
@@ -25,7 +25,7 @@ using std::string;
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
#define PVUNION_UNDEFINED_INDEX -1
|
||||
int32 PVUnion::UNDEFINED_INDEX = PVUNION_UNDEFINED_INDEX;
|
||||
const int32 PVUnion::UNDEFINED_INDEX = PVUNION_UNDEFINED_INDEX;
|
||||
|
||||
PVDataCreatePtr PVUnion::pvDataCreate(getPVDataCreate());
|
||||
|
||||
|
||||
@@ -932,7 +932,7 @@ public:
|
||||
* Default value upon PVUnion construction. Can be set by the user.
|
||||
* Corresponds to @c null value.
|
||||
*/
|
||||
static int32 UNDEFINED_INDEX;
|
||||
static const int32 UNDEFINED_INDEX;
|
||||
|
||||
/**
|
||||
* Get the introspection interface
|
||||
|
||||
Reference in New Issue
Block a user