summaryrefslogtreecommitdiffstats
path: root/src/Date.cpp
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-15 19:28:30 +0200
committerGravatar Jonathan Beck2009-10-15 19:28:30 +0200
commit8186a9d371b2a31122643f75c65cef4e438ac97b (patch)
treef059e0199ac4b8b0425c910a11f595b42490448a /src/Date.cpp
parenta922b714c9b75fdc67735d674758d4eaedfd32f9 (diff)
downloadlibplist-8186a9d371b2a31122643f75c65cef4e438ac97b.tar.gz
libplist-8186a9d371b2a31122643f75c65cef4e438ac97b.tar.bz2
Fix various mistakes in C++ bindings.
Diffstat (limited to 'src/Date.cpp')
-rw-r--r--src/Date.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Date.cpp b/src/Date.cpp
index 56e1e8e..f6a6f42 100644
--- a/src/Date.cpp
+++ b/src/Date.cpp
@@ -28,6 +28,10 @@ Date::Date() : Node(PLIST_DATE)
{
}
+Date::Date(plist_t node) : Node(node)
+{
+}
+
Date::Date(uint64_t i) : Node(PLIST_DATE)
{
plist_set_date_val(_node, i, 0);