Changeset View
Changeset View
Standalone View
Standalone View
src/client/room/local-echo.hpp
| Show All 28 Lines | struct LocalEchoDesc | ||||
| friend bool operator==(const LocalEchoDesc &a, const LocalEchoDesc &b) = default; | friend bool operator==(const LocalEchoDesc &a, const LocalEchoDesc &b) = default; | ||||
| friend bool operator!=(const LocalEchoDesc &a, const LocalEchoDesc &b) = default; | friend bool operator!=(const LocalEchoDesc &a, const LocalEchoDesc &b) = default; | ||||
| }; | }; | ||||
| } | } | ||||
| namespace boost::serialization | namespace boost::serialization | ||||
| { | { | ||||
| template<class Archive> | template<class Archive> | ||||
| void save(Archive &ar, const Kazv::LocalEchoDesc &d, std::uint32_t const version) | void save(Archive &ar, const Kazv::LocalEchoDesc &d, [[maybe_unused]] std::uint32_t const version) | ||||
| { | { | ||||
| using namespace Kazv; | using namespace Kazv; | ||||
| LocalEchoDesc::Status dummyStatus{LocalEchoDesc::Failed}; | LocalEchoDesc::Status dummyStatus{LocalEchoDesc::Failed}; | ||||
| ar | ar | ||||
| & d.txnId | & d.txnId | ||||
| & d.event | & d.event | ||||
| & dummyStatus | & dummyStatus | ||||
| ; | ; | ||||
| } | } | ||||
| template<class Archive> | template<class Archive> | ||||
| void load(Archive &ar, Kazv::LocalEchoDesc &d, std::uint32_t const version) | void load(Archive &ar, Kazv::LocalEchoDesc &d, [[maybe_unused]] std::uint32_t const version) | ||||
| { | { | ||||
| using namespace Kazv; | using namespace Kazv; | ||||
| LocalEchoDesc::Status dummyStatus{LocalEchoDesc::Failed}; | LocalEchoDesc::Status dummyStatus{LocalEchoDesc::Failed}; | ||||
| ar | ar | ||||
| & d.txnId | & d.txnId | ||||
| & d.event | & d.event | ||||
| & dummyStatus | & dummyStatus | ||||
| ; | ; | ||||
| Show All 12 Lines | |||||