summaryrefslogtreecommitdiffstats
path: root/src/String.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/String.cpp')
-rw-r--r--src/String.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/String.cpp b/src/String.cpp
index 24b4ce8..7bf744c 100644
--- a/src/String.cpp
+++ b/src/String.cpp
@@ -28,6 +28,10 @@ String::String() : Node(PLIST_STRING)
{
}
+String::String(plist_t node) : Node(node)
+{
+}
+
String::String(std::string& s) : Node(PLIST_STRING)
{
plist_set_string_val(_node, s.c_str());