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/Key.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/plist/Key.h') diff --git a/include/plist/Key.h b/include/plist/Key.h index e75aabc..bd5f7bc 100644 --- a/include/plist/Key.h +++ b/include/plist/Key.h @@ -34,7 +34,7 @@ public : Key(Node* parent = NULL); Key(plist_t node, Node* parent = NULL); Key(const Key& k); - Key& operator=(Key& k); + Key& operator=(const Key& k); Key(const std::string& s); virtual ~Key(); -- cgit v1.1-32-gdbae