Code

specialize MaybeStorage for Rect, and start using reference maybes to
[inkscape.git] / src / gc-finalized.h
index 046816b60b56581ea68b5dc7912fd4016b3fc60d..738d37692f205bf618f2fa268d4174dfb4821349 100644 (file)
@@ -114,9 +114,7 @@ public:
 
 private:
     /// invoke the destructor for an object given a base and offset pair
-    static void _invoke_dtor(void *base, void *offset) {
-        _unoffset(base, offset)->~Finalized();
-    }
+    static void _invoke_dtor(void *base, void *offset);
 
     /// turn 'this' pointer into an offset-from-base-address (stored as void *)
     static void *_offset(void *base, Finalized *self) {