This apparently will make the clear() operators faster as they no longer
have to data-copy.
Detected by Coverity Scan. Issues
1364734 and
1364737
PeerOptions();
PeerOptions(const PeerOptions &) = default;
PeerOptions &operator =(const PeerOptions &) = default;
+ PeerOptions(PeerOptions &&) = default;
+ PeerOptions &operator =(PeerOptions &&) = default;
virtual ~PeerOptions() {}
/// parse a TLS squid.conf option
// is more secure to have only a small set of trusted CA.
flags.tlsDefaultCa.defaultTo(false);
}
+ ServerOptions(const ServerOptions &) = default;
+ ServerOptions &operator =(const ServerOptions &) = default;
+ ServerOptions(ServerOptions &&) = default;
+ ServerOptions &operator =(ServerOptions &&) = default;
virtual ~ServerOptions() = default;
/* Security::PeerOptions API */