summaryrefslogtreecommitdiffstats
path: root/src/Boolean.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Boolean.cpp')
-rw-r--r--src/Boolean.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Boolean.cpp b/src/Boolean.cpp
index e58472f..4608eaf 100644
--- a/src/Boolean.cpp
+++ b/src/Boolean.cpp
@@ -32,7 +32,7 @@ Boolean::Boolean(plist_t node, Node* parent) : Node(node, parent)
32{ 32{
33} 33}
34 34
35Boolean::Boolean(PList::Boolean& b) : Node(PLIST_BOOLEAN) 35Boolean::Boolean(const PList::Boolean& b) : Node(PLIST_BOOLEAN)
36{ 36{
37 plist_set_bool_val(_node, b.GetValue()); 37 plist_set_bool_val(_node, b.GetValue());
38} 38}
@@ -53,7 +53,7 @@ Boolean::~Boolean()
53{ 53{
54} 54}
55 55
56Node* Boolean::Clone() 56Node* Boolean::Clone() const
57{ 57{
58 return new Boolean(*this); 58 return new Boolean(*this);
59} 59}
@@ -63,7 +63,7 @@ void Boolean::SetValue(bool b)
63 plist_set_bool_val(_node, b); 63 plist_set_bool_val(_node, b);
64} 64}
65 65
66bool Boolean::GetValue() 66bool Boolean::GetValue() const
67{ 67{
68 uint8_t b = 0; 68 uint8_t b = 0;
69 plist_get_bool_val(_node, &b); 69 plist_get_bool_val(_node, &b);