diff options
author | Jonathan Beck | 2009-10-15 19:28:30 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-15 19:28:30 +0200 |
commit | 8186a9d371b2a31122643f75c65cef4e438ac97b (patch) | |
tree | f059e0199ac4b8b0425c910a11f595b42490448a /src/Data.cpp | |
parent | a922b714c9b75fdc67735d674758d4eaedfd32f9 (diff) | |
download | libplist-8186a9d371b2a31122643f75c65cef4e438ac97b.tar.gz libplist-8186a9d371b2a31122643f75c65cef4e438ac97b.tar.bz2 |
Fix various mistakes in C++ bindings.
Diffstat (limited to 'src/Data.cpp')
-rw-r--r-- | src/Data.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Data.cpp b/src/Data.cpp index 2ce610d..53adfa4 100644 --- a/src/Data.cpp +++ b/src/Data.cpp @@ -28,6 +28,10 @@ Data::Data() : Node(PLIST_DATA) { } +Data::Data(plist_t node) : Node(node) +{ +} + Data::Data(std::vector<char>& buff) : Node(PLIST_DATA) { plist_set_data_val(_node, &buff[0], buff.size()); |