Having one piece of cake will not be the end of the world. Hopefully you enjoyed it and move on with the rest of your day. Pizza is my down fall but I fully intend on having some this weekend. I figure if I deprive myself I will go over board on other things to try and make up for it.
Hang in there, you're doing great!