Fixed compile error. VS2012 doesn't seem to support the delete keyword.