summaryrefslogtreecommitdiffstats
path: root/src/sp-tref-reference.h
diff options
context:
space:
mode:
authorJan Lingscheid <jan.linscheid@auticon.de>2017-10-18 14:03:34 +0000
committerJan Lingscheid <jan.linscheid@auticon.de>2017-10-18 14:03:34 +0000
commit41b862f1c4eaea48bdd0d546e2bb31907f15857b (patch)
treee667c91439f0f04aa1f2cec1d3eafddf80bc4ecc /src/sp-tref-reference.h
parentReplace boost::shared_ptr (diff)
downloadinkscape-41b862f1c4eaea48bdd0d546e2bb31907f15857b.tar.gz
inkscape-41b862f1c4eaea48bdd0d546e2bb31907f15857b.zip
Refactor Util::ptr_shared
Util::ptr_shared<T> was only used in its <char> specialization, so it is now refactored into a non-template class. Using it with arbitary classes was dangerous anyway.
Diffstat (limited to 'src/sp-tref-reference.h')
-rw-r--r--src/sp-tref-reference.h8
1 files changed, 4 insertions, 4 deletions
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<char> old_content,
- Inkscape::Util::ptr_shared<char> 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<char> old_value,
- Inkscape::Util::ptr_shared<char> new_value);
+ Inkscape::Util::ptr_shared old_value,
+ Inkscape::Util::ptr_shared new_value);
/////////////////////////////////////////////////////////////////////
protected: