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/event.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/xml/event.h') diff --git a/src/xml/event.h b/src/xml/event.h index e4ce8b26a..56fdb8bb6 100644 --- a/src/xml/event.h +++ b/src/xml/event.h @@ -6,7 +6,7 @@ #include #include -#include "util/shared-c-string-ptr.h" +#include "util/share.h" #include "util/forward-pointer-iterator.h" #include "gc-managed.h" #include "xml/node.h" @@ -96,15 +96,15 @@ private: class EventChgAttr : public Event { public: EventChgAttr(Node *repr, GQuark k, - Inkscape::Util::SharedCStringPtr ov, - Inkscape::Util::SharedCStringPtr nv, + Inkscape::Util::shared_ptr ov, + Inkscape::Util::shared_ptr nv, Event *next) : Event(repr, next), key(k), oldval(ov), newval(nv) {} GQuark key; - Inkscape::Util::SharedCStringPtr oldval; - Inkscape::Util::SharedCStringPtr newval; + Inkscape::Util::shared_ptr oldval; + Inkscape::Util::shared_ptr newval; private: Event *_optimizeOne(); @@ -115,13 +115,13 @@ private: class EventChgContent : public Event { public: EventChgContent(Node *repr, - Inkscape::Util::SharedCStringPtr ov, - Inkscape::Util::SharedCStringPtr nv, + Inkscape::Util::shared_ptr ov, + Inkscape::Util::shared_ptr nv, Event *next) : Event(repr, next), oldval(ov), newval(nv) {} - Inkscape::Util::SharedCStringPtr oldval; - Inkscape::Util::SharedCStringPtr newval; + Inkscape::Util::shared_ptr oldval; + Inkscape::Util::shared_ptr newval; private: Event *_optimizeOne(); -- cgit v1.2.3