diff options
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()); |