summaryrefslogtreecommitdiff
path: root/asn.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-07-01 13:29:46 -0400
committerJeffrey Walton <noloader@gmail.com>2019-07-01 13:29:46 -0400
commit445ec61125d1aab1151ea248d2c22ac90f361094 (patch)
treeb92a6675308b0bd87e1e0cd68a5c786659827abc /asn.cpp
parentc3d4e79a0983c1b5ccf885d39edd44cebd51c07b (diff)
downloadcryptopp-git-445ec61125d1aab1151ea248d2c22ac90f361094.tar.gz
Remove copy ctor from DERGeneralEncoder and BERGeneralDecoder
GCC was giving too many warnings at -Wextra. We also could not comply with Rule of 3 because it resulted in compile failures in C++98 and C++03
Diffstat (limited to 'asn.cpp')
-rw-r--r--asn.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/asn.cpp b/asn.cpp
index 1631f52e..ed4ac82f 100644
--- a/asn.cpp
+++ b/asn.cpp
@@ -406,12 +406,6 @@ BERGeneralDecoder::BERGeneralDecoder(BufferedTransformation &inQueue, byte asnTa
Init(asnTag);
}
-BERGeneralDecoder::BERGeneralDecoder(BERGeneralDecoder &inQueue)
- : m_inQueue(inQueue), m_length(0), m_finished(false)
-{
- Init(DefaultTag);
-}
-
BERGeneralDecoder::BERGeneralDecoder(BERGeneralDecoder &inQueue, byte asnTag)
: m_inQueue(inQueue), m_length(0), m_finished(false)
{
@@ -523,11 +517,6 @@ DERGeneralEncoder::DERGeneralEncoder(BufferedTransformation &outQueue, byte asnT
{
}
-DERGeneralEncoder::DERGeneralEncoder(DERGeneralEncoder &outQueue)
- : m_outQueue(outQueue), m_asnTag(DefaultTag), m_finished(false)
-{
-}
-
DERGeneralEncoder::DERGeneralEncoder(DERGeneralEncoder &outQueue, byte asnTag)
: m_outQueue(outQueue), m_asnTag(asnTag), m_finished(false)
{