mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 17:09:34 -05:00
Merge pull request #1654 from PhenomRetroShare/Fix_Assignment_Operator_Warning
Fix implicitly-declared operator= warnings
This commit is contained in:
commit
529dc2aa00
@ -48,13 +48,12 @@ public:
|
||||
* This allows modification of local
|
||||
* meta data items of a message
|
||||
*/
|
||||
class MsgLocMetaData {
|
||||
struct MsgLocMetaData {
|
||||
MsgLocMetaData() = default;
|
||||
MsgLocMetaData(const MsgLocMetaData& meta): msgId(meta.msgId), val(meta.val) {}
|
||||
|
||||
public:
|
||||
MsgLocMetaData(const MsgLocMetaData& meta){ msgId = meta.msgId; val = meta.val;}
|
||||
MsgLocMetaData() {}
|
||||
RsGxsGrpMsgIdPair msgId;
|
||||
ContentValue val;
|
||||
RsGxsGrpMsgIdPair msgId;
|
||||
ContentValue val;
|
||||
};
|
||||
|
||||
typedef std::map<RsGxsGroupId,RsGxsGrpMetaData*> RsGxsGrpMetaTemporaryMap;
|
||||
@ -63,14 +62,12 @@ typedef std::map<RsGxsGroupId,RsGxsGrpMetaData*> RsGxsGrpMetaTemporaryMap;
|
||||
* This allows modification of local
|
||||
* meta data items of a group
|
||||
*/
|
||||
class GrpLocMetaData {
|
||||
|
||||
public:
|
||||
GrpLocMetaData(const GrpLocMetaData& meta){ grpId = meta.grpId; val = meta.val;}
|
||||
GrpLocMetaData(){}
|
||||
RsGxsGroupId grpId;
|
||||
ContentValue val;
|
||||
struct GrpLocMetaData {
|
||||
GrpLocMetaData() = default;
|
||||
GrpLocMetaData(const GrpLocMetaData& meta): grpId(meta.grpId), val(meta.val) {}
|
||||
|
||||
RsGxsGroupId grpId;
|
||||
ContentValue val;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user