From 8c992ed466c611c83bcf5d671d95b9e10137c45b Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 23 Apr 1997 17:07:23 +0000 Subject: [PATCH] init ref differently for MS VC++ --- src/cas/example/simple/exServer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cas/example/simple/exServer.cc b/src/cas/example/simple/exServer.cc index c3b5583c7..63f3affda 100644 --- a/src/cas/example/simple/exServer.cc +++ b/src/cas/example/simple/exServer.cc @@ -156,7 +156,7 @@ pvExistReturn exServer::pvExistTest(const casCtx& ctxIn, const char *pPVName) return pverDoesNotExistHere; } - pvInfo &pvi(pPVE->getInfo()); + pvInfo &pvi = pPVE->getInfo(); // // Initiate async IO if this is an async PV @@ -199,7 +199,7 @@ pvCreateReturn exServer::createPV (const casCtx &ctx, const char *pName) return pvCreateReturn(S_casApp_pvNotFound); } - pvInfo &pvi(pPVE->getInfo()); + pvInfo &pvi = pPVE->getInfo(); // // If this is a synchronous PV create the PV now