Loading ccsrc/Framework/Codec.hh +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ public: template<typename TPDU> class PERCodec { public: virtual int encode(const TPDU& msg, BITSTRING& bits) {return -1;}; virtual int decode(const BITSTRING& bits, TPDU& msg) {return -1;}; virtual int encode(const TPDU& msg, BITSTRING& bits) = 0; virtual int decode(const BITSTRING& bits, TPDU& msg) = 0; }; #endif Loading
ccsrc/Framework/Codec.hh +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ public: template<typename TPDU> class PERCodec { public: virtual int encode(const TPDU& msg, BITSTRING& bits) {return -1;}; virtual int decode(const BITSTRING& bits, TPDU& msg) {return -1;}; virtual int encode(const TPDU& msg, BITSTRING& bits) = 0; virtual int decode(const BITSTRING& bits, TPDU& msg) = 0; }; #endif