The only way your look was a pervert action was if she was underage.
Before I got married I told my soon to be wife I will continue to admire the female form of other women. The day I don't notice a pretty lady get me to the hospital. I don't leer and point and hoot or anything stupid, just a casual glance. After 20 years of marriage I still admire the female form of other women. I am ONLY looking.