Use load_construct_data for kernel objects

This commit is contained in:
Hamish Milne
2020-02-13 17:38:25 +08:00
committed by zhupengfei
parent 3ed8d95866
commit 6917eaf53b
35 changed files with 158 additions and 113 deletions
+4 -1
View File
@@ -46,7 +46,7 @@ private:
class Timer final : public WaitObject {
public:
explicit Timer();
explicit Timer(KernelSystem& kernel);
~Timer() override;
std::string GetTypeName() const override {
@@ -127,3 +127,6 @@ private:
};
} // namespace Kernel
BOOST_CLASS_EXPORT_KEY(Kernel::Timer)
CONSTRUCT_KERNEL_OBJECT(Kernel::Timer)