X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgc-managed.h;h=80d9c94111a43d226d3d98c54df1a52431de3894;hb=54682196a3317979027b46f7b35204b800593d50;hp=fc13b25134a062084a0d94a3a4cf1e7c612d9daf;hpb=6b15695578f07a3f72c4c9475c1a261a3021472a;p=inkscape.git diff --git a/src/gc-managed.h b/src/gc-managed.h index fc13b2513..80d9c9411 100644 --- a/src/gc-managed.h +++ b/src/gc-managed.h @@ -28,26 +28,6 @@ template class Managed { public: - /** @brief Registers a pointer to be cleared when this object becomes - * inaccessible. - */ - template - void clearOnceInaccessible(T **p_ptr) { - Core::general_register_disappearing_link( - reinterpret_cast(p_ptr), Core::base(this) - ); - } - - /** @brief Cancels the registration of a pointer, so it will not be - * cleared when this object becomes inacessible. - */ - template - void cancelClearOnceInaccessible(T **p_ptr) { - Core::unregister_disappearing_link( - reinterpret_cast(p_ptr) - ); - } - void *operator new(std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect)