From a6d8cf0cec4ff5289971d2e8eba9bfd12281139b Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Sat, 18 Nov 2006 00:27:08 +0000 Subject: [PATCH] use parenthesis during time stamp assign --- src/makeBaseApp/top/caServerApp/exScalarPV.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {