avoid default template arguments

This commit is contained in:
Jeff Hill
2000-10-11 14:26:09 +00:00
parent 1f99335386
commit e43f44232f

View File

@@ -186,12 +186,8 @@ inline resTableIndex fdRegId::hash (unsigned) const
{
resTableIndex hashid;
#if defined(__GNUC__) && ( __GNUC__<2 || (__GNUC__==2 && __GNUC__<8) )
hashid = intId<SOCKET, hashTableIndexBits, sizeof(SOCKET)*CHAR_BIT>
::hashEngine(this->fd);
#else
hashid = intId<SOCKET, hashTableIndexBits>::hashEngine(this->fd);
#endif
//
// also evenly distribute based on the type of fdRegType