More cleaning up

This commit is contained in:
Hamish Milne 2020-03-29 19:07:56 +01:00
parent 6760ea18b6
commit 9bd189a155
5 changed files with 9 additions and 12 deletions

View file

@ -155,7 +155,6 @@ std::string GetMediaTitlePath(Service::FS::MediaType media_type);
class Module final {
public:
explicit Module(Core::System& system);
Module() = default;
~Module();
class Interface : public ServiceFramework<Interface> {

View file

@ -21,6 +21,8 @@
#include "core/memory.h"
#include "core/settings.h"
SERVICE_CONSTRUCT_IMPL(Service::CAM::Module)
namespace Service::CAM {
template <class Archive>

View file

@ -882,9 +882,4 @@ void InstallInterfaces(Core::System& system);
} // namespace Service::CAM
namespace boost::serialization {
template <class Archive>
void load_construct_data(Archive& ar, Service::CAM::Module* t, const unsigned int) {
::new (t) Service::CAM::Module(Core::Global<Core::System>());
}
} // namespace boost::serialization
SERVICE_CONSTRUCT(Service::CAM::Module)