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

git-svn-id: svn://10.0.0.236/trunk@13095 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
raman%netscape.com
1998-10-19 18:25:01 +00:00
parent 5260f16e31
commit ca600aab3f

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;
}