fixed bug due to wrong service ID in serializer

This commit is contained in:
csoler 2018-02-17 12:04:13 +01:00
parent d57f933109
commit 8708dd9b94
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ struct RsGxsForumNotifyRecordsItem: public RsItem
class GxsChannelsConfigSerializer : public RsServiceSerializer class GxsChannelsConfigSerializer : public RsServiceSerializer
{ {
public: public:
GxsChannelsConfigSerializer() : RsServiceSerializer(RS_SERVICE_TYPE_GXS_TRANS) {} GxsChannelsConfigSerializer() : RsServiceSerializer(RS_SERVICE_GXS_TYPE_CHANNELS_CONFIG) {}
virtual ~GxsChannelsConfigSerializer() {} virtual ~GxsChannelsConfigSerializer() {}
RsItem* create_item(uint16_t service_id, uint8_t item_sub_id) const RsItem* create_item(uint16_t service_id, uint8_t item_sub_id) const

View File

@ -119,7 +119,7 @@ struct RsGxsForumNotifyRecordsItem: public RsItem
class GxsForumsConfigSerializer : public RsServiceSerializer class GxsForumsConfigSerializer : public RsServiceSerializer
{ {
public: public:
GxsForumsConfigSerializer() : RsServiceSerializer(RS_SERVICE_TYPE_GXS_TRANS) {} GxsForumsConfigSerializer() : RsServiceSerializer(RS_SERVICE_GXS_TYPE_FORUMS_CONFIG) {}
virtual ~GxsForumsConfigSerializer() {} virtual ~GxsForumsConfigSerializer() {}
RsItem* create_item(uint16_t service_id, uint8_t item_sub_id) const RsItem* create_item(uint16_t service_id, uint8_t item_sub_id) const