Birth Control Pill Timing

Summer
So I am normally very good about taking my birth control pills. I take it at 10pm exactly every night. I've been doing it for months now. Well last week I slept through my alarm and woke up at 12am and took my pill. It's only a 2 hour difference, so will the pill still work properly?