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=3d4be1a816d1d3b9c3068d9c3008e0ee093034f3

commit 3d4be1a816d1d3b9c3068d9c3008e0ee093034f3
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Jun 5 05:31:21 2018 +0200

    dselect: Declare constructor with one argument as explicit
    
    Warned-by: cppcheck
---
 dselect/pkglist.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dselect/pkglist.h b/dselect/pkglist.h
index 1c39f04b4..077cabb88 100644
--- a/dselect/pkglist.h
+++ b/dselect/pkglist.h
@@ -210,7 +210,7 @@ protected:
   void kd_archdisplay();
   void kd_versiondisplay();
 
-  packagelist(keybindings *kb); // nonrecursive
+  explicit packagelist(keybindings *kb); // nonrecursive
   packagelist(keybindings *kb, pkginfo **pkgltab); // recursive
   void add(pkginfo **arry) { while (*arry) add(*arry++); }
   void add(pkginfo*);

-- 
Dpkg.Org's dpkg

Reply via email to