From fbdc39de29a0efbcd13ad169c844189168d2110d Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Mon, 11 Jan 2016 21:52:38 +0100 Subject: cppcheck fixes: Class 'X' has a constructor with 1 argument that is not explicit. --- src/lib/block/safer/safer_sk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/block/safer') diff --git a/src/lib/block/safer/safer_sk.h b/src/lib/block/safer/safer_sk.h index babc22eb9..af944b36c 100644 --- a/src/lib/block/safer/safer_sk.h +++ b/src/lib/block/safer/safer_sk.h @@ -29,7 +29,7 @@ class BOTAN_DLL SAFER_SK final : public Block_Cipher_Fixed_Params<8, 16> * @param rounds the number of rounds to use - must be between 1 * and 13 */ - SAFER_SK(size_t rounds); + explicit SAFER_SK(size_t rounds); private: void key_schedule(const byte[], size_t) override; -- cgit v1.2.3