File tree 2 files changed +5
-2
lines changed
libraries/ESP8266WiFi/src
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ class PublicKey {
58
58
59
59
// Disable the copy constructor, we're pointer based
60
60
PublicKey (const PublicKey& that) = delete ;
61
+ PublicKey& operator =(const PublicKey& that) = delete ;
61
62
62
63
private:
63
64
brssl::public_key *_key;
@@ -86,6 +87,7 @@ class PrivateKey {
86
87
87
88
// Disable the copy constructor, we're pointer based
88
89
PrivateKey (const PrivateKey& that) = delete ;
90
+ PrivateKey& operator =(const PrivateKey& that) = delete ;
89
91
90
92
private:
91
93
brssl::private_key *_key;
@@ -122,6 +124,7 @@ class X509List {
122
124
123
125
// Disable the copy constructor, we're pointer based
124
126
X509List (const X509List& that) = delete ;
127
+ X509List& operator =(const X509List& that) = delete ;
125
128
126
129
private:
127
130
size_t _count;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ namespace BearSSL {
34
34
class WiFiClientSecureCtx : public WiFiClient {
35
35
public:
36
36
WiFiClientSecureCtx ();
37
- WiFiClientSecureCtx (const WiFiClientSecure &rhs) = delete ;
37
+ WiFiClientSecureCtx (const WiFiClientSecureCtx &rhs) = delete ;
38
38
~WiFiClientSecureCtx () override ;
39
39
40
40
WiFiClientSecureCtx& operator =(const WiFiClientSecureCtx&) = delete ;
@@ -43,7 +43,7 @@ class WiFiClientSecureCtx : public WiFiClient {
43
43
// TODO: don't remove just yet to avoid including the WiFiClient default implementation and unintentionally causing
44
44
// a 'slice' that this method tries to avoid in the first place
45
45
std::unique_ptr<WiFiClient> clone () const override {
46
- return std::unique_ptr<WiFiClient>( new WiFiClientSecureCtx (* this )) ;
46
+ return nullptr ;
47
47
}
48
48
49
49
int connect (IPAddress ip, uint16_t port) override ;
You can’t perform that action at this time.
0 commit comments