More clang format fixes. Really need to standardise the version of this

This commit is contained in:
Hamish Milne 2019-12-30 17:02:44 +00:00 committed by zhupengfei
parent 01ec2e8a67
commit 3d6e372f96
2 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ private:
template <class Archive> template <class Archive>
void serialize(Archive& ar, const unsigned int) { void serialize(Archive& ar, const unsigned int) {
ar& hid_period; ar& hid_period;
ar& calibration_data; // This isn't writeable for now, but might be in future ar& calibration_data; // This isn't writeable for now, but might be in future
RequestInputDevicesReload(); // zl, zr, c_stick are loaded here RequestInputDevicesReload(); // zl, zr, c_stick are loaded here
} }
friend class boost::serialization::access; friend class boost::serialization::access;

View file

@ -23,8 +23,8 @@ void IR_USER::serialize(Archive& ar, const unsigned int) {
ar& receive_event; ar& receive_event;
ar& shared_memory; ar& shared_memory;
ar& connected_device; ar& connected_device;
ar& *receive_buffer.get(); ar&* receive_buffer.get();
ar& *extra_hid.get(); ar&* extra_hid.get();
} }
SERIALIZE_IMPL(IR_USER) SERIALIZE_IMPL(IR_USER)