fixed some CN not register serialization

This commit is contained in:
KongDong 2024-09-16 22:56:17 +08:00
parent 7fe79c8338
commit 5da2b6e0ab
5 changed files with 20 additions and 0 deletions

View File

@ -7,6 +7,10 @@
#include "AddCondition.h" #include "AddCondition.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::AddCondition)
#endif
namespace hku { namespace hku {
AddCondition::AddCondition() : ConditionBase("CN_Add") {} AddCondition::AddCondition() : ConditionBase("CN_Add") {}

View File

@ -7,6 +7,10 @@
#include "DivCondition.h" #include "DivCondition.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::DivCondition)
#endif
namespace hku { namespace hku {
DivCondition::DivCondition() : ConditionBase("CN_Div") {} DivCondition::DivCondition() : ConditionBase("CN_Div") {}

View File

@ -7,6 +7,10 @@
#include "MultiCondition.h" #include "MultiCondition.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::MultiCondition)
#endif
namespace hku { namespace hku {
MultiCondition::MultiCondition() : ConditionBase("CN_Multi") {} MultiCondition::MultiCondition() : ConditionBase("CN_Multi") {}

View File

@ -7,6 +7,10 @@
#include "OrCondition.h" #include "OrCondition.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::OrCondition)
#endif
namespace hku { namespace hku {
OrCondition::OrCondition() : ConditionBase("CN_Or") {} OrCondition::OrCondition() : ConditionBase("CN_Or") {}

View File

@ -7,6 +7,10 @@
#include "SubCondition.h" #include "SubCondition.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::SubCondition)
#endif
namespace hku { namespace hku {
SubCondition::SubCondition() : ConditionBase("CN_Sub") {} SubCondition::SubCondition() : ConditionBase("CN_Sub") {}