Review changes

This commit is contained in:
Hamish Milne 2020-03-28 17:08:27 +00:00
parent 86600e90d3
commit 8f164a16ce
12 changed files with 13 additions and 19 deletions

View file

@ -57,11 +57,11 @@ public:
Handler();
ConfigMemDef& GetConfigMem();
virtual u8* GetPtr() {
u8* GetPtr() override {
return static_cast<u8*>(static_cast<void*>(&config_mem));
}
virtual u32 GetSize() const {
u32 GetSize() const override {
return sizeof(config_mem);
}

View file

@ -99,12 +99,12 @@ protected:
struct SessionInfo {
SessionInfo(std::shared_ptr<ServerSession> session, std::unique_ptr<SessionDataBase> data);
SessionInfo() = default;
std::shared_ptr<ServerSession> session;
std::unique_ptr<SessionDataBase> data;
private:
SessionInfo() = default;
template <class Archive>
void serialize(Archive& ar, const unsigned int file_version) {
ar& session;

View file

@ -15,7 +15,8 @@
#include "core/hle/ipc_helpers.h"
#include "core/hle/result.h"
#include "core/hle/service/err_f.h"
#undef exception_info
#undef exception_info // We use 'exception_info' as a plain identifier, but MSVC defines this in one
// of its many headers.
SERIALIZE_EXPORT_IMPL(Service::ERR::ERR_F)