add serialization template to Action::Quantity
This commit is contained in:
@@ -46,6 +46,13 @@ public:
|
||||
return quantity == data.quantity &&
|
||||
args == data.args;
|
||||
}
|
||||
|
||||
template<class Serializer>
|
||||
void serializeOp(Serializer& serializer)
|
||||
{
|
||||
serializer(quantity);
|
||||
serializer(args);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user