Fixed C++ warning message by "defining both functions
in the derived class" (Jeff)
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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 );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user