Unless the male flowers have opened and released pollen, you should have no problems.
Excessive heat does not cause hermies, but bad genetics and/or heavy defoliation can........
I grow outdoors with many days in summer of 40+ degrees celsius and have not ever had a problem with hermies over the last 35+ years.