diff options
Diffstat (limited to 'include/plist/String.h')
-rw-r--r-- | include/plist/String.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/plist/String.h b/include/plist/String.h index a1906aa..80290b3 100644 --- a/include/plist/String.h +++ b/include/plist/String.h @@ -33,15 +33,15 @@ class String : public Node public : String(Node* parent = NULL); String(plist_t node, Node* parent = NULL); - String(String& s); + String(const String& s); String& operator=(String& s); String(const std::string& s); virtual ~String(); - Node* Clone(); + Node* Clone() const; void SetValue(const std::string& s); - std::string GetValue(); + std::string GetValue() const; }; }; |