summaryrefslogtreecommitdiffstats
path: root/include/plist/Real.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/plist/Real.h')
-rw-r--r--include/plist/Real.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/plist/Real.h b/include/plist/Real.h
index 7d6f8e2..5afb0c0 100644
--- a/include/plist/Real.h
+++ b/include/plist/Real.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PLIST__REAL_H
-#define PLIST__REAL_H
+#ifndef PLIST_REAL_H
+#define PLIST_REAL_H
#include <plist/Node.h>
@@ -32,17 +32,17 @@ class Real : public Node
public :
Real(Node* parent = NULL);
Real(plist_t node, Node* parent = NULL);
- Real(Real& d);
- Real& operator=(Real& d);
+ Real(const Real& d);
+ Real& operator=(const Real& d);
Real(double d);
virtual ~Real();
- Node* Clone();
+ Node* Clone() const;
void SetValue(double d);
- double GetValue();
+ double GetValue() const;
};
};
-#endif // PLIST__REAL_H
+#endif // PLIST_REAL_H