From ccd6f05fe1e6cd5a1611b0df78974fa39869013d Mon Sep 17 00:00:00 2001 From: Aaron Burghardt Date: Fri, 15 Aug 2014 21:59:01 -0400 Subject: Change Clone() to be const, which required constructors with const references and a const GetValue(). --- include/plist/Date.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/plist/Date.h') diff --git a/include/plist/Date.h b/include/plist/Date.h index e505b53..510a349 100644 --- a/include/plist/Date.h +++ b/include/plist/Date.h @@ -34,15 +34,15 @@ class Date : public Node public : Date(Node* parent = NULL); Date(plist_t node, Node* parent = NULL); - Date(Date& d); + Date(const Date& d); Date& operator=(Date& d); Date(timeval t); virtual ~Date(); - Node* Clone(); + Node* Clone() const; void SetValue(timeval t); - timeval GetValue(); + timeval GetValue() const; }; }; -- cgit v1.1-32-gdbae