Bathroom Etiquette

Etiquette question: I was standing at one of two urinals in a restaurant men’s room. A woman brought in a boy to use the urinal next to me. It made me very uncomfortable. Was I wrong? Or was she wrong to come in with him? Or should she have taken the child into a stall? Or should she have taken him into the woman’s room (FYI: There was no line for women’s room).