Use load_construct_data for kernel objects

This commit is contained in:
Hamish Milne
2019-12-27 18:52:33 +00:00
committed by zhupengfei
parent 3ed8d95866
commit 6917eaf53b
35 changed files with 158 additions and 113 deletions

View File

@ -42,7 +42,7 @@ class Thread;
class ServerSession final : public WaitObject {
public:
~ServerSession() override;
explicit ServerSession();
explicit ServerSession(KernelSystem& kernel);
std::string GetName() const override {
return name;
@ -125,3 +125,4 @@ private:
} // namespace Kernel
BOOST_CLASS_EXPORT_KEY(Kernel::ServerSession)
CONSTRUCT_KERNEL_OBJECT(Kernel::ServerSession)