summaryrefslogtreecommitdiffstats
path: root/src/debug/event.h
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
commitd2df0412f728dd5bb54537dfdfe7c35b34d40e0e (patch)
treee2703384779e83312c456399999997fcc289c5cf /src/debug/event.h
parentMerge branch 'master' into powerpencil (diff)
parentchange assignment to equality (diff)
downloadinkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.tar.gz
inkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.zip
Merge branch 'master' into powerpencil
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 1cdd4f7e2..2d3751ff5 100644
--- a/src/debug/event.h
+++ b/src/debug/event.h
@@ -40,23 +40,23 @@ public:
struct PropertyPair {
public:
PropertyPair() {}
- PropertyPair(Util::ptr_shared<char> n, Util::ptr_shared<char> v)
+ PropertyPair(Util::ptr_shared n, Util::ptr_shared v)
: name(n), value(v) {}
- PropertyPair(char const *n, Util::ptr_shared<char> v)
+ PropertyPair(char const *n, Util::ptr_shared v)
: name(Util::share_string(n)), value(v) {}
- PropertyPair(Util::ptr_shared<char> n, char const *v)
+ PropertyPair(Util::ptr_shared 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::ptr_shared<char> name;
- Util::ptr_shared<char> value;
+ Util::ptr_shared name;
+ Util::ptr_shared value;
};
static Category category() { return OTHER; }
- virtual Util::ptr_shared<char> name() const=0;
+ virtual Util::ptr_shared name() const=0;
virtual unsigned propertyCount() const=0;
virtual PropertyPair property(unsigned property) const=0;