From 4f46bb0e09ddfa540b60bd4d152385729127aceb Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 6 Feb 2006 04:15:05 +0000 Subject: replace Util::SharedCStringPtr with the more general Util::shared_ptr<> (bzr r87) --- src/xml/composite-node-observer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/xml/composite-node-observer.cpp') diff --git a/src/xml/composite-node-observer.cpp b/src/xml/composite-node-observer.cpp index 97bce9360..b564da78d 100644 --- a/src/xml/composite-node-observer.cpp +++ b/src/xml/composite-node-observer.cpp @@ -66,7 +66,7 @@ void CompositeNodeObserver::notifyChildOrderChanged(Node &node, Node &child, void CompositeNodeObserver::notifyContentChanged( Node &node, - Util::SharedCStringPtr old_content, Util::SharedCStringPtr new_content + Util::shared_ptr old_content, Util::shared_ptr new_content ) { _startIteration(); for ( ObserverRecordList::iterator iter=_active.begin() ; @@ -81,7 +81,7 @@ void CompositeNodeObserver::notifyContentChanged( void CompositeNodeObserver::notifyAttributeChanged( Node &node, GQuark name, - Util::SharedCStringPtr old_value, Util::SharedCStringPtr new_value + Util::shared_ptr old_value, Util::shared_ptr new_value ) { _startIteration(); for ( ObserverRecordList::iterator iter=_active.begin() ; @@ -130,13 +130,13 @@ public: } } - void notifyContentChanged(Node &node, Util::SharedCStringPtr old_content, Util::SharedCStringPtr new_content) { + void notifyContentChanged(Node &node, Util::shared_ptr old_content, Util::shared_ptr new_content) { if (vector.content_changed) { vector.content_changed(&node, old_content, new_content, data); } } - void notifyAttributeChanged(Node &node, GQuark name, Util::SharedCStringPtr old_value, Util::SharedCStringPtr new_value) { + void notifyAttributeChanged(Node &node, GQuark name, Util::shared_ptr old_value, Util::shared_ptr new_value) { if (vector.attr_changed) { vector.attr_changed(&node, g_quark_to_string(name), old_value, new_value, false, data); } -- cgit v1.2.3