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