diff options
author | Jack Lloyd <[email protected]> | 2016-03-05 13:10:30 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-03-05 13:10:30 -0500 |
commit | a3ce0bd1e9e018ea69741c4380bf065cccedec93 (patch) | |
tree | 71eac335b7bdc3a845b1d6599b78e337ad00433c /src/lib/pubkey/ec_group/ec_group.h | |
parent | 2467ccccd48fc502ee3e04d847d514e88d88b144 (diff) | |
parent | c3540ae668a523c0155677c4ee4c9099910110bc (diff) |
Make almost all single argument constructors `explicit`
GH #444
Diffstat (limited to 'src/lib/pubkey/ec_group/ec_group.h')
-rw-r--r-- | src/lib/pubkey/ec_group/ec_group.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.h b/src/lib/pubkey/ec_group/ec_group.h index c7e52b238..a03b97a68 100644 --- a/src/lib/pubkey/ec_group/ec_group.h +++ b/src/lib/pubkey/ec_group/ec_group.h @@ -54,13 +54,13 @@ class BOTAN_DLL EC_Group * Decode a BER encoded ECC domain parameter set * @param ber_encoding the bytes of the BER encoding */ - EC_Group(const std::vector<byte>& ber_encoding); + explicit EC_Group(const std::vector<byte>& ber_encoding); /** * Create an EC domain by OID (or throw if unknown) * @param oid the OID of the EC domain to create */ - EC_Group(const OID& oid); + explicit EC_Group(const OID& oid); /** * Create an EC domain from PEM encoding (as from PEM_encode), or |