From 8c7e258e80c632c2d1d1eaa93cef8358a898045b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 21 Dec 2020 20:04:57 -0800 Subject: [clang-tidy] cpp: Turn reference operators to const Found with cppcoreguidelines-c-copy-assignment-signature Signed-off-by: Rosen Penev --- include/plist/String.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/plist/String.h') diff --git a/include/plist/String.h b/include/plist/String.h index 80290b3..9aba16b 100644 --- a/include/plist/String.h +++ b/include/plist/String.h @@ -34,7 +34,7 @@ public : String(Node* parent = NULL); String(plist_t node, Node* parent = NULL); String(const String& s); - String& operator=(String& s); + String& operator=(const String& s); String(const std::string& s); virtual ~String(); -- cgit v1.1-32-gdbae