I'm the moderator who acted on that answer, and you'll notice something about the delete action:
I didn't completely delete the answer, I converted it to a comment (which you can see below the question).
I'll be the first to admit that I'm not a huge fan of the policy towards deleting helpful answers that consist of a link towards another resource. However, it's really easy to deal with answers that contain no additional information but link to post on Stack Overflow: convert them to a comment. That preserves the link to that other question (in case someone wants to refer to it or vote to close the question) while cleaning up answers to focus on original contributions.
No information was lost here, merely converted to a more appropriate form. If the answer had added anything more to the problem (a potential solution in addition to the link), I would have declined the "not an answer" flag and left it alone.
If you see an answer like this in review that links to another Stack Overflow post without any additional information, your best bet is to flag it and let moderators review it.