diff options
| author | 2020-12-21 20:04:57 -0800 | |
|---|---|---|
| committer | 2021-06-22 01:18:28 +0200 | |
| commit | 8c7e258e80c632c2d1d1eaa93cef8358a898045b (patch) | |
| tree | 850633b8c9303b52f175ffbb94a2338fec570173 /include/plist/String.h | |
| parent | 904cbea78fb91438eafc867ccd8a9f9ab66eb5ec (diff) | |
| download | libplist-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/String.h')
| -rw-r--r-- | include/plist/String.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plist/String.h b/include/plist/String.h index 80290b3..9aba16b 100644 --- a/include/plist/String.h +++ b/include/plist/String.h | |||
| @@ -34,7 +34,7 @@ public : | |||
| 34 | String(Node* parent = NULL); | 34 | String(Node* parent = NULL); |
| 35 | String(plist_t node, Node* parent = NULL); | 35 | String(plist_t node, Node* parent = NULL); |
| 36 | String(const String& s); | 36 | String(const String& s); |
| 37 | String& operator=(String& s); | 37 | String& operator=(const String& s); |
| 38 | String(const std::string& s); | 38 | String(const std::string& s); |
| 39 | virtual ~String(); | 39 | virtual ~String(); |
| 40 | 40 | ||
