Oreo cream pie left out

I left a slice of white chocolate Oreo cream pie out for like 10 hours and then ate it. I'm pregnant. Will I be okay?