diff --git a/src/makeBaseApp/top/caServerApp/exScalarPV.cc b/src/makeBaseApp/top/caServerApp/exScalarPV.cc index 3f6ec0beb..0e91d81e9 100644 --- a/src/makeBaseApp/top/caServerApp/exScalarPV.cc +++ b/src/makeBaseApp/top/caServerApp/exScalarPV.cc @@ -75,7 +75,7 @@ void exScalarPV::scan() limit = (float) this->info.getLopr (); newValue = tsMax ( newValue, limit ); *pDD = newValue; - aitTimeStamp gddts = this->currentTime; + aitTimeStamp gddts ( this->currentTime ); pDD->setTimeStamp ( & gddts ); status = this->update ( *pDD ); if (status!=S_casApp_success) {