no need to specify hash table size
This commit is contained in:
@@ -26,9 +26,7 @@ const pvInfo *pvInfo::pFirst;
|
||||
//
|
||||
// directoryServer::directoryServer()
|
||||
//
|
||||
directoryServer::directoryServer(const char * const pvPrefix, unsigned pvCount, unsigned aliasCount) :
|
||||
caServer(pvCount*(aliasCount+1u)),
|
||||
stringResTbl (pvCount*(aliasCount+1u))
|
||||
directoryServer::directoryServer(const char * const pvPrefix, unsigned aliasCount)
|
||||
{
|
||||
unsigned i;
|
||||
const pvInfo *pPVI;
|
||||
|
||||
@@ -92,7 +92,7 @@ private:
|
||||
//
|
||||
class directoryServer : public caServer {
|
||||
public:
|
||||
directoryServer (const char * const pvPrefix, unsigned pvCount, unsigned aliasCount);
|
||||
directoryServer (const char * const pvPrefix, unsigned aliasCount);
|
||||
~directoryServer();
|
||||
void show (unsigned level) const;
|
||||
pvExistReturn pvExistTest (const casCtx&, const char *pPVName);
|
||||
|
||||
@@ -66,7 +66,7 @@ extern int main (int argc, const char **argv)
|
||||
return (-1);
|
||||
}
|
||||
|
||||
pCAS = new directoryServer(pvPrefix, (unsigned) nPV, aliasCount);
|
||||
pCAS = new directoryServer(pvPrefix, aliasCount);
|
||||
if (!pCAS) {
|
||||
return (-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user