summaryrefslogtreecommitdiffstats
path: root/src/debug/event.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-03-15 03:22:23 +0000
committermental <mental@users.sourceforge.net>2006-03-15 03:22:23 +0000
commit7663e55d418b5ea8765421c9570dba40f6bd97fd (patch)
tree74e9eef28e3553010bb121dc4eba4cb5b59d05ff /src/debug/event.h
parentdifferentiate _hreffed and _listening flags for color, fill, and stroke paint... (diff)
downloadinkscape-7663e55d418b5ea8765421c9570dba40f6bd97fd.tar.gz
inkscape-7663e55d418b5ea8765421c9570dba40f6bd97fd.zip
shared_ptr -> ptr_shared
(bzr r240)
Diffstat (limited to 'src/debug/event.h')
-rw-r--r--src/debug/event.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/debug/event.h b/src/debug/event.h
index 8232f890d..fdc50f225 100644
--- a/src/debug/event.h
+++ b/src/debug/event.h
@@ -37,23 +37,23 @@ public:
struct PropertyPair {
public:
PropertyPair() {}
- PropertyPair(Util::shared_ptr<char> n, Util::shared_ptr<char> v)
+ PropertyPair(Util::ptr_shared<char> n, Util::ptr_shared<char> v)
: name(n), value(v) {}
- PropertyPair(char const *n, Util::shared_ptr<char> v)
+ PropertyPair(char const *n, Util::ptr_shared<char> v)
: name(Util::share_string(n)), value(v) {}
- PropertyPair(Util::shared_ptr<char> n, char const *v)
+ PropertyPair(Util::ptr_shared<char> n, char const *v)
: name(n), value(Util::share_string(v)) {}
PropertyPair(char const *n, char const *v)
: name(Util::share_string(n)),
value(Util::share_string(v)) {}
- Util::shared_ptr<char> name;
- Util::shared_ptr<char> value;
+ Util::ptr_shared<char> name;
+ Util::ptr_shared<char> value;
};
static Category category() { return OTHER; }
- virtual Util::shared_ptr<char> name() const=0;
+ virtual Util::ptr_shared<char> name() const=0;
virtual unsigned propertyCount() const=0;
virtual PropertyPair property(unsigned property) const=0;
};