Remove cast from DefaultTag in asn.h

This commit is contained in:
Jeffrey Walton 2021-03-09 21:59:35 -05:00
parent de45ebeec1
commit 5c4c631e92
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

2
asn.h
View File

@ -607,7 +607,7 @@ public:
/// \param inQueue input byte queue /// \param inQueue input byte queue
/// \details BERSetDecoder uses DefaultTag /// \details BERSetDecoder uses DefaultTag
explicit BERSetDecoder(BERSetDecoder &inQueue) explicit BERSetDecoder(BERSetDecoder &inQueue)
: BERGeneralDecoder(inQueue, static_cast<int>(DefaultTag)) {} : BERGeneralDecoder(inQueue, DefaultTag) {}
/// \brief Construct an ASN.1 decoder /// \brief Construct an ASN.1 decoder
/// \param inQueue input byte queue /// \param inQueue input byte queue