summaryrefslogtreecommitdiffstats
path: root/src/xml/node-observer.h
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
commit683029f31f0f1814c21ca65f7f113ac12b6242fb (patch)
tree4d4adb5dcfc962c4caaebaf6b448cc8b6477a194 /src/xml/node-observer.h
parentMerge branch 'cleanups' of gitlab.com:stfacc/inkscape (diff)
parentRefactor Util::ptr_shared (diff)
downloadinkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.tar.gz
inkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.zip
Merge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape
Diffstat (limited to 'src/xml/node-observer.h')
-rw-r--r--src/xml/node-observer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xml/node-observer.h b/src/xml/node-observer.h
index 9c7e096e5..28c492d66 100644
--- a/src/xml/node-observer.h
+++ b/src/xml/node-observer.h
@@ -123,8 +123,8 @@ public:
* @param new_content New content of @c node
*/
virtual void notifyContentChanged(Node &node,
- Util::ptr_shared<char> old_content,
- Util::ptr_shared<char> new_content) {
+ Util::ptr_shared old_content,
+ Util::ptr_shared new_content) {
INK_UNUSED(node);
INK_UNUSED(old_content);
INK_UNUSED(new_content);
@@ -141,8 +141,8 @@ public:
* @param new_value New value of the modified attribute
*/
virtual void notifyAttributeChanged(Node &node, GQuark name,
- Util::ptr_shared<char> old_value,
- Util::ptr_shared<char> new_value) {
+ Util::ptr_shared old_value,
+ Util::ptr_shared new_value) {
INK_UNUSED(node);
INK_UNUSED(name);
INK_UNUSED(old_value);