summaryrefslogtreecommitdiffstats
path: root/include/plist/Uid.h
diff options
context:
space:
mode:
authorGravatar Rosen Penev2020-12-21 20:04:57 -0800
committerGravatar Nikias Bassen2021-06-22 01:18:28 +0200
commit8c7e258e80c632c2d1d1eaa93cef8358a898045b (patch)
tree850633b8c9303b52f175ffbb94a2338fec570173 /include/plist/Uid.h
parent904cbea78fb91438eafc867ccd8a9f9ab66eb5ec (diff)
downloadlibplist-8c7e258e80c632c2d1d1eaa93cef8358a898045b.tar.gz
libplist-8c7e258e80c632c2d1d1eaa93cef8358a898045b.tar.bz2
[clang-tidy] cpp: Turn reference operators to const
Found with cppcoreguidelines-c-copy-assignment-signature Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'include/plist/Uid.h')
-rw-r--r--include/plist/Uid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plist/Uid.h b/include/plist/Uid.h
index 2d8375b..af6e51d 100644
--- a/include/plist/Uid.h
+++ b/include/plist/Uid.h
@@ -33,7 +33,7 @@ public :
Uid(Node* parent = NULL);
Uid(plist_t node, Node* parent = NULL);
Uid(const Uid& i);
- Uid& operator=(Uid& i);
+ Uid& operator=(const Uid& i);
Uid(uint64_t i);
virtual ~Uid();