make PVUnion::UNDEFINED_INDEX const

This commit is contained in:
Michael Davidsaver committed 2017-04-15 16:19:23 -04:00
1 parent fc2adf98ba
commit f7343674ee
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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());
+1 -1
View File
@@ -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