Code

switch to sigc++ "release"
[inkscape.git] / src / xml / event.h
index 56fdb8bb60d43e6c7b507ce0597e51553b83c63a..59dbe7c7bc5ab4f2b561d7b733af89e133870f2a 100644 (file)
@@ -96,15 +96,15 @@ private:
 class EventChgAttr : public Event {
 public:
        EventChgAttr(Node *repr, GQuark k,
-                    Inkscape::Util::shared_ptr<char> ov,
-                     Inkscape::Util::shared_ptr<char> nv,
+                    Inkscape::Util::ptr_shared<char> ov,
+                     Inkscape::Util::ptr_shared<char> nv,
                      Event *next)
        : Event(repr, next), key(k),
          oldval(ov), newval(nv) {}
 
        GQuark key;
-       Inkscape::Util::shared_ptr<char> oldval;
-       Inkscape::Util::shared_ptr<char> newval;
+       Inkscape::Util::ptr_shared<char> oldval;
+       Inkscape::Util::ptr_shared<char> newval;
 
 private:
        Event *_optimizeOne();
@@ -115,13 +115,13 @@ private:
 class EventChgContent : public Event {
 public:
        EventChgContent(Node *repr,
-                        Inkscape::Util::shared_ptr<char> ov,
-                        Inkscape::Util::shared_ptr<char> nv,
+                        Inkscape::Util::ptr_shared<char> ov,
+                        Inkscape::Util::ptr_shared<char> nv,
                         Event *next)
        : Event(repr, next), oldval(ov), newval(nv) {}
 
-       Inkscape::Util::shared_ptr<char> oldval;
-       Inkscape::Util::shared_ptr<char> newval;
+       Inkscape::Util::ptr_shared<char> oldval;
+       Inkscape::Util::ptr_shared<char> newval;
 
 private:
        Event *_optimizeOne();