mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-24 15:05:35 -04:00
Merge pull request #1654 from PhenomRetroShare/Fix_Assignment_Operator_Warning
Fix implicitly-declared operator= warnings
This commit is contained in:
commit
529dc2aa00
1 changed files with 10 additions and 13 deletions
|
@ -48,11 +48,10 @@ public:
|
||||||
* This allows modification of local
|
* This allows modification of local
|
||||||
* meta data items of a message
|
* 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;
|
RsGxsGrpMsgIdPair msgId;
|
||||||
ContentValue val;
|
ContentValue val;
|
||||||
};
|
};
|
||||||
|
@ -63,14 +62,12 @@ typedef std::map<RsGxsGroupId,RsGxsGrpMetaData*> RsGxsGrpMetaTemporaryMap;
|
||||||
* This allows modification of local
|
* This allows modification of local
|
||||||
* meta data items of a group
|
* meta data items of a group
|
||||||
*/
|
*/
|
||||||
class GrpLocMetaData {
|
struct GrpLocMetaData {
|
||||||
|
GrpLocMetaData() = default;
|
||||||
|
GrpLocMetaData(const GrpLocMetaData& meta): grpId(meta.grpId), val(meta.val) {}
|
||||||
|
|
||||||
public:
|
|
||||||
GrpLocMetaData(const GrpLocMetaData& meta){ grpId = meta.grpId; val = meta.val;}
|
|
||||||
GrpLocMetaData(){}
|
|
||||||
RsGxsGroupId grpId;
|
RsGxsGroupId grpId;
|
||||||
ContentValue val;
|
ContentValue val;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue