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/Boolean.cpp | |
parent | a922b714c9b75fdc67735d674758d4eaedfd32f9 (diff) | |
download | libplist-8186a9d371b2a31122643f75c65cef4e438ac97b.tar.gz libplist-8186a9d371b2a31122643f75c65cef4e438ac97b.tar.bz2 |
Fix various mistakes in C++ bindings.
Diffstat (limited to 'src/Boolean.cpp')
-rw-r--r-- | src/Boolean.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Boolean.cpp b/src/Boolean.cpp index 5797d88..cc704c9 100644 --- a/src/Boolean.cpp +++ b/src/Boolean.cpp @@ -28,6 +28,10 @@ Boolean::Boolean() : Node(PLIST_BOOLEAN) { } +Boolean::Boolean(plist_t node) : Node(node) +{ +} + Boolean::Boolean(bool b) : Node(PLIST_BOOLEAN) { plist_set_bool_val(_node, b); |