Fix to make it compile on HP-UX. Define an else clause in the if statement of an inline function. Thanks briano

This commit is contained in:
raman%netscape.com 1998-10-19 18:25:01 +00:00
parent 4a5d7819bb
commit eb854d55b9

View File

@ -105,14 +105,16 @@ inline nsPermissionState nsPrivilege::add(nsPermissionState p1, nsPermissionStat
{
if (p1 < p2)
return p1;
return p2;
else
return p2;
}
inline nsPrivilege * nsPrivilege::add(nsPrivilege *p1, nsPrivilege *p2)
{
if (p1->itsPerm < p2->itsPerm)
return p1;
return p2;
else
return p2;
}