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"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::AddCondition)
#endif
namespace hku {
AddCondition::AddCondition() : ConditionBase("CN_Add") {}

View File

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

View File

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

View File

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

View File

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