From 267b8662f0c99a051e1a0106d580e7e79fdee22d Mon Sep 17 00:00:00 2001 From: Cameron Ross Date: Sun, 17 Mar 2019 17:09:45 -0230 Subject: [PATCH] remove pointless Composer destructor (#238) --- source/dyaml/composer.d | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/dyaml/composer.d b/source/dyaml/composer.d index e09e7dd..c000b02 100644 --- a/source/dyaml/composer.d +++ b/source/dyaml/composer.d @@ -75,14 +75,6 @@ struct Composer resolver_ = resolver; } - ///Destroy the composer. - pure @safe nothrow ~this() - { - parser_ = null; - anchors_.destroy(); - anchors_ = null; - } - /** * Determine if there are any nodes left. *