summaryrefslogtreecommitdiffstats
path: root/src/xml/text-node.h
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
commit683029f31f0f1814c21ca65f7f113ac12b6242fb (patch)
tree4d4adb5dcfc962c4caaebaf6b448cc8b6477a194 /src/xml/text-node.h
parentMerge branch 'cleanups' of gitlab.com:stfacc/inkscape (diff)
parentRefactor Util::ptr_shared (diff)
downloadinkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.tar.gz
inkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.zip
Merge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape
Diffstat (limited to 'src/xml/text-node.h')
-rw-r--r--src/xml/text-node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/text-node.h b/src/xml/text-node.h
index 53798b822..4d71203a5 100644
--- a/src/xml/text-node.h
+++ b/src/xml/text-node.h
@@ -26,13 +26,13 @@ namespace XML {
* @brief Text node, e.g. "Some text" in &lt;group&gt;Some text&lt;/group&gt;
*/
struct TextNode : public SimpleNode {
- TextNode(Util::ptr_shared<char> content, Document *doc)
+ TextNode(Util::ptr_shared content, Document *doc)
: SimpleNode(g_quark_from_static_string("string"), doc)
{
setContent(content);
_is_CData = false;
}
- TextNode(Util::ptr_shared<char> content, Document *doc, bool is_CData)
+ TextNode(Util::ptr_shared content, Document *doc, bool is_CData)
: SimpleNode(g_quark_from_static_string("string"), doc)
{
setContent(content);