Review changes
This commit is contained in:
parent
86600e90d3
commit
8f164a16ce
12 changed files with 13 additions and 19 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue