No protected class involved, here. The court finds that marriage is a fundamental right, and that the government cannot sustain a law against homosexual "marriage." The equal protection clause of the constitution covers all classes of people.
Which classes of people are discriminated against under traditional marriage laws? Under current law, any eligible man can marry any eligible woman. All are treated equally at present. What class of people are discriminated against?