From 5591a50b918d2dc784a9e15688dfe24eb2b6dfcc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Jun 2016 10:28:16 +0100 Subject: Add some explicit declarations to constructors. --- src/key.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/key.h') diff --git a/src/key.h b/src/key.h index b8cab522..d8ce5c7f 100644 --- a/src/key.h +++ b/src/key.h @@ -39,10 +39,10 @@ public: Key (); /** Create a Key from a raw key value */ - Key (uint8_t const *); + explicit Key (uint8_t const *); /** Create a Key from a hex key value */ - Key (std::string); + explicit Key (std::string); Key (Key const &); ~Key (); -- cgit v1.2.3