From ed8a73301b844bf5f7efd9cd437c9c0765a49a88 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 6 Apr 2025 11:48:14 +0200 Subject: C++: Add = operator to String class --- include/plist/String.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/plist/String.h b/include/plist/String.h index 7e8a6e4..95f8dd1 100644 --- a/include/plist/String.h +++ b/include/plist/String.h @@ -35,6 +35,7 @@ public : String(plist_t node, Node* parent = NULL); String(const String& s); String& operator=(const String& s); + String& operator=(const std::string& s); String& operator=(const char* s); String(const std::string& s); String(const char *s); -- cgit v1.1-32-gdbae