Fixed serialization runtime exceptions
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
#include "core/hle/service/nwm/uds_data.h"
|
||||
#include "core/memory.h"
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::NWM::NWM_UDS)
|
||||
SERVICE_CONSTRUCT_IMPL(Service::NWM::NWM_UDS)
|
||||
|
||||
namespace Service::NWM {
|
||||
|
||||
template <class Archive>
|
||||
@@ -34,7 +37,6 @@ void NWM_UDS::serialize(Archive& ar, const unsigned int) {
|
||||
ar& received_beacons;
|
||||
// wifi_packet_received set in constructor
|
||||
}
|
||||
SERIALIZE_IMPL(NWM_UDS)
|
||||
|
||||
namespace ErrCodes {
|
||||
enum {
|
||||
|
||||
@@ -557,6 +557,7 @@ private:
|
||||
|
||||
template <class Archive>
|
||||
void serialize(Archive& ar, const unsigned int);
|
||||
friend class boost::serialization::access;
|
||||
};
|
||||
|
||||
} // namespace Service::NWM
|
||||
|
||||
Reference in New Issue
Block a user