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/Date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/plist/Date.h') diff --git a/include/plist/Date.h b/include/plist/Date.h index 510a349..3cfb7d1 100644 --- a/include/plist/Date.h +++ b/include/plist/Date.h @@ -35,7 +35,7 @@ public : Date(Node* parent = NULL); Date(plist_t node, Node* parent = NULL); Date(const Date& d); - Date& operator=(Date& d); + Date& operator=(const Date& d); Date(timeval t); virtual ~Date(); -- cgit v1.1-32-gdbae