summaryrefslogtreecommitdiffstats
path: root/src/debug/simple-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/simple-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/simple-event.h')
-rw-r--r--src/debug/simple-event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/debug/simple-event.h b/src/debug/simple-event.h
index 90eed3a0e..3695eaa6a 100644
--- a/src/debug/simple-event.h
+++ b/src/debug/simple-event.h
@@ -21,17 +21,17 @@ namespace Debug {
template <Event::Category C=Event::OTHER>
class SimpleEvent : public Event {
public:
- SimpleEvent(Util::shared_ptr<char> name) : _name(name) {}
+ SimpleEvent(Util::ptr_shared<char> name) : _name(name) {}
SimpleEvent(char const *name) : _name(Util::share_string(name)) {}
static Category category() { return C; }
- Util::shared_ptr<char> name() const { return _name; }
+ Util::ptr_shared<char> name() const { return _name; }
unsigned propertyCount() const { return 0; }
PropertyPair property(unsigned property) const { return PropertyPair(); }
private:
- Util::shared_ptr<char> _name;
+ Util::ptr_shared<char> _name;
};
}