This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=975efaa8c9e527a7f99d198deee7194101b3df8d commit 975efaa8c9e527a7f99d198deee7194101b3df8d Author: Guillem Jover <[email protected]> AuthorDate: Tue Jul 31 03:55:40 2018 +0200 dselect: Disable copy constructor and = operator for methodlist class The constructor deals with dynamically allocated memory, so we should not be using the default copy constructor and = operators, disabled them to avoid surprises. Warned-by: cppcheck --- dselect/method.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dselect/method.h b/dselect/method.h index f9593ec27..415325c59 100644 --- a/dselect/method.h +++ b/dselect/method.h @@ -78,6 +78,8 @@ protected: void kd_abort(); methodlist(); + methodlist(const methodlist &) = delete; + methodlist &operator =(const methodlist &) = delete; quitaction display(); ~methodlist(); }; -- Dpkg.Org's dpkg

