Fixed C++ warning message by "defining both functions

in the derived class" (Jeff)
This commit is contained in:
Ralph Lange
2003-05-06 11:49:17 +00:00
parent 1be5dc154d
commit db5c2d67f8
2 changed files with 11 additions and 1 deletions

View File

@@ -138,7 +138,15 @@ pvExistReturn directoryServer::pvExistTest
return pvExistReturn (caNetAddr(pPVE->getInfo().getAddr()));
}
//
// Override fallback for pvExistTest()
//
pvExistReturn directoryServer::pvExistTest
( const casCtx & ctx, const char * pPVName )
{
caNetAddr addr;
return pvExistTest (ctx, addr, pPVName);
}
//
// directoryServer::show()

View File

@@ -111,6 +111,8 @@ public:
private:
resTable < pvEntry, stringId > stringResTbl;
pvExistReturn pvExistTest ( const casCtx&,
const char *pPVName );
pvExistReturn pvExistTest ( const casCtx&,
const caNetAddr &, const char *pPVName );
};