This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=631f11ba78f364da073cc5f8a8e0d12188735204 commit 631f11ba78f364da073cc5f8a8e0d12188735204 Author: Guillem Jover <[email protected]> AuthorDate: Sat Nov 4 23:37:36 2023 +0100 libdpkg: Mark varbuf constructor as explicit Warned-by: cppcheck (noExplicitConstructor) --- lib/dpkg/varbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpkg/varbuf.h b/lib/dpkg/varbuf.h index b7e5e37f7..e58dac5b6 100644 --- a/lib/dpkg/varbuf.h +++ b/lib/dpkg/varbuf.h @@ -57,7 +57,7 @@ struct varbuf { char *buf; #ifdef __cplusplus - varbuf(size_t _size = 0); + explicit varbuf(size_t _size = 0); ~varbuf(); void init(size_t _size = 0); void reset(); -- Dpkg.Org's dpkg

