From 8c2f817da9f69b8332af181f063d1e4d3510e683 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Fri, 12 Apr 2013 08:12:25 +0200 Subject: [PATCH] Don't need a private, empty dispose method. --- spine-c/src/spine/AtlasAttachmentLoader.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spine-c/src/spine/AtlasAttachmentLoader.c b/spine-c/src/spine/AtlasAttachmentLoader.c index a02a0b8f4..21f2f10c0 100644 --- a/spine-c/src/spine/AtlasAttachmentLoader.c +++ b/spine-c/src/spine/AtlasAttachmentLoader.c @@ -30,10 +30,6 @@ namespace spine { #endif -void _AtlasAttachmentLoader_dispose (AttachmentLoader* self) { - _AttachmentLoader_deinit(self); -} - Attachment* _AtlasAttachmentLoader_newAttachment (AttachmentLoader* loader, Skin* skin, AttachmentType type, const char* name) { AtlasAttachmentLoader* self = SUB_CAST(AtlasAttachmentLoader, loader); switch (type) { @@ -53,7 +49,7 @@ Attachment* _AtlasAttachmentLoader_newAttachment (AttachmentLoader* loader, Skin AtlasAttachmentLoader* AtlasAttachmentLoader_create (Atlas* atlas) { AtlasAttachmentLoader* self = NEW(AtlasAttachmentLoader); - _AttachmentLoader_init(SUPER(self), _AtlasAttachmentLoader_dispose, _AtlasAttachmentLoader_newAttachment); + _AttachmentLoader_init(SUPER(self), _AttachmentLoader_deinit, _AtlasAttachmentLoader_newAttachment); self->atlas = atlas; return self; }