From 41b862f1c4eaea48bdd0d546e2bb31907f15857b Mon Sep 17 00:00:00 2001 From: Jan Lingscheid Date: Wed, 18 Oct 2017 16:03:34 +0200 Subject: Refactor Util::ptr_shared Util::ptr_shared was only used in its specialization, so it is now refactored into a non-template class. Using it with arbitary classes was dangerous anyway. --- src/sp-tref-reference.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sp-tref-reference.h') diff --git a/src/sp-tref-reference.h b/src/sp-tref-reference.h index b555ace2d..516e125c1 100644 --- a/src/sp-tref-reference.h +++ b/src/sp-tref-reference.h @@ -52,11 +52,11 @@ public: virtual void notifyChildOrderChanged(Inkscape::XML::Node &node, Inkscape::XML::Node &child, Inkscape::XML::Node *old_prev, Inkscape::XML::Node *new_prev); virtual void notifyContentChanged(Inkscape::XML::Node &node, - Inkscape::Util::ptr_shared old_content, - Inkscape::Util::ptr_shared new_content); + Inkscape::Util::ptr_shared old_content, + Inkscape::Util::ptr_shared new_content); virtual void notifyAttributeChanged(Inkscape::XML::Node &node, GQuark name, - Inkscape::Util::ptr_shared old_value, - Inkscape::Util::ptr_shared new_value); + Inkscape::Util::ptr_shared old_value, + Inkscape::Util::ptr_shared new_value); ///////////////////////////////////////////////////////////////////// protected: -- cgit v1.2.3