When your boyfriend judges how hot another girl is

When your boyfriend makes a comment about how hot another girl is, such as a girl that you know or a celebrity, is that okay?  I felt uncomfortable when my boyfriend asked his friend if the girl they were talking about was hot.  I don't know if I'm taking this too seriously, or if I should listen to how I feel.