diff options
-rw-r--r-- | connectionParam.cpp | 3 | ||||
-rw-r--r-- | connectionParam.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/connectionParam.cpp b/connectionParam.cpp index 04330b3..fbc9a92 100644 --- a/connectionParam.cpp +++ b/connectionParam.cpp @@ -34,3 +34,6 @@ ConnectionParam::ConnectionParam(KeyDerivation& kd, SeqWindow& seq_window,seq_nr { } +ConnectionParam::ConnectionParam(const ConnectionParam & src) : kd_(src.kd_),seq_window_(src.seq_window_),seq_nr_(src.seq_nr_),remote_host_(src.remote_host_), remote_port_(src.remote_port_) +{ +} diff --git a/connectionParam.h b/connectionParam.h index e41d8ea..cf8df3b 100644 --- a/connectionParam.h +++ b/connectionParam.h @@ -49,8 +49,8 @@ public: seq_nr_t seq_nr_; std::string remote_host_; u_int16_t remote_port_; + ConnectionParam(const ConnectionParam & src); private: -// ConnectionParam(const ConnectionParam & src); friend class boost::serialization::access; template<class Archive> void serialize(Archive & ar, const unsigned int version) |