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/Integer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/plist/Integer.h') diff --git a/include/plist/Integer.h b/include/plist/Integer.h index adbc39a..bdabc6f 100644 --- a/include/plist/Integer.h +++ b/include/plist/Integer.h @@ -33,7 +33,7 @@ public : Integer(Node* parent = NULL); Integer(plist_t node, Node* parent = NULL); Integer(const Integer& i); - Integer& operator=(Integer& i); + Integer& operator=(const Integer& i); Integer(uint64_t i); virtual ~Integer(); -- cgit v1.1-32-gdbae