summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-06-05 05:31:21 +0200
committerGuillem Jover <guillem@debian.org>2018-08-01 06:00:39 +0200
commit3d4be1a816d1d3b9c3068d9c3008e0ee093034f3 (patch)
tree4282ab9ecd92439caba6f147acc72b06f12d2bcd
parentd2ca3f4be39bb56bf0ae54f8ac9f7976ff0bf025 (diff)
downloaddpkg-3d4be1a816d1d3b9c3068d9c3008e0ee093034f3.tar.gz
dselect: Declare constructor with one argument as explicit
Warned-by: cppcheck
-rw-r--r--dselect/pkglist.h2
1 files changed, 1 insertions, 1 deletions
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*);