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/attribute-record.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/xml/attribute-record.h') diff --git a/src/xml/attribute-record.h b/src/xml/attribute-record.h index dbad0f340..30d8576d0 100644 --- a/src/xml/attribute-record.h +++ b/src/xml/attribute-record.h @@ -4,7 +4,7 @@ #include #include #include "gc-managed.h" -#include "util/shared-c-string-ptr.h" +#include "util/share.h" #define SP_REPR_ATTRIBUTE_KEY(a) g_quark_to_string((a)->key) #define SP_REPR_ATTRIBUTE_VALUE(a) ((a)->value) @@ -13,11 +13,11 @@ namespace Inkscape { namespace XML { struct AttributeRecord : public Inkscape::GC::Managed<> { - AttributeRecord(GQuark k, Inkscape::Util::SharedCStringPtr v) + AttributeRecord(GQuark k, Inkscape::Util::shared_ptr v) : key(k), value(v) {} GQuark key; - Inkscape::Util::SharedCStringPtr value; + Inkscape::Util::shared_ptr value; // accept default copy constructor and assignment operator }; -- cgit v1.2.3