From 8f01c5394dcce8f5d4e7102dacfcdea9d1f7b021 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 16 Jul 2009 01:16:09 +0000 Subject: Add destructor callbacks for polymorphic C types, and use their base dmnsn_delete_*() function. --- libdimensionxx/dimensionxx/objects.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdimensionxx/dimensionxx/objects.hpp') diff --git a/libdimensionxx/dimensionxx/objects.hpp b/libdimensionxx/dimensionxx/objects.hpp index f86b2b3..15c072b 100644 --- a/libdimensionxx/dimensionxx/objects.hpp +++ b/libdimensionxx/dimensionxx/objects.hpp @@ -30,7 +30,7 @@ namespace Dimension { public: Sphere(); - ~Sphere(); + // ~Sphere(); // Shallow-copy the sphere Object* copy(); @@ -46,7 +46,7 @@ namespace Dimension { public: Cube(); - ~Cube(); + // ~Cube(); // Shallow-copy the cube Object* copy(); -- cgit v1.2.3