Use epicsNAN instead of non-portable nan() function

This commit is contained in:
Andrew Johnson
2015-08-17 16:51:50 -05:00
parent 6efb3c138f
commit e22d5814e0
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ PvaClientMultiMonitorDouble::PvaClientMultiMonitorDouble(
: pvaClientMultiChannel(pvaClientMultiChannel),
pvaClientChannelArray(pvaClientChannelArray),
nchannel(pvaClientChannelArray.size()),
doubleValue(shared_vector<double>(nchannel,nan(""))),
doubleValue(shared_vector<double>(nchannel,epicsNAN)),
pvaClientMonitor(std::vector<PvaClientMonitorPtr>(nchannel,PvaClientMonitorPtr())),
isMonitorConnected(false),
isDestroyed(false)