summaryrefslogtreecommitdiffstats
path: root/src/Real.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Real.cpp')
-rw-r--r--src/Real.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Real.cpp b/src/Real.cpp
index 768d07c..ec300c9 100644
--- a/src/Real.cpp
+++ b/src/Real.cpp
@@ -32,7 +32,7 @@ Real::Real(plist_t node, Node* parent) : Node(node, parent)
{
}
-Real::Real(PList::Real& d) : Node(PLIST_UINT)
+Real::Real(const PList::Real& d) : Node(PLIST_UINT)
{
plist_set_real_val(_node, d.GetValue());
}
@@ -53,7 +53,7 @@ Real::~Real()
{
}
-Node* Real::Clone()
+Node* Real::Clone() const
{
return new Real(*this);
}
@@ -63,7 +63,7 @@ void Real::SetValue(double d)
plist_set_real_val(_node, d);
}
-double Real::GetValue()
+double Real::GetValue() const
{
double d = 0.;
plist_get_real_val(_node, &d);