mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 08:59:50 -05:00
Fix Warnings for 'p3PhotoService::msgsChanged' hides overloaded virtual
function In file included from ../../../trunk/libretroshare/src/rsserver/ rsinit.cc:769: ../../../trunk/libretroshare/src/services/p3photoservice.h:59:10: warning: 'p3PhotoService::msgsChanged' hides overloaded virtual function [-Woverloaded-virtual] void msgsChanged(std::map<RsGxsGroupId, ^ ../../../trunk/libretroshare/src/retroshare/rsphoto.h:206:18: note: hidden overloaded virtual function 'RsPhoto::msgsChanged' declared here: type mismatch at 1st parameter ('GxsMsgIdResult &' (aka 'map<t_RsGenericIdType<CERT_SIGN_LEN, false, RS_GENERIC_ID_GXS_GROUP_ID_TYPE>, set<t_RsGenericIdType<SHA1_SIZE, false, RS_GENERIC_ID_SHA1_ID_TYPE> > > &') vs 'std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > &' (aka 'map<t_RsGenericIdType<CERT_SIGN_LEN, false, RS_GENERIC_ID_GXS_GROUP_ID_TYPE>, vector<t_RsGenericIdType<SHA1_SIZE, false, RS_GENERIC_ID_SHA1_ID_TYPE> > > &')) virtual void msgsChanged(GxsMsgIdResult& msgs) = 0; ^
This commit is contained in:
parent
8806840989
commit
78e8758b9e
@ -187,8 +187,7 @@ void p3PhotoService::groupsChanged(std::list<RsGxsGroupId>& grpIds)
|
||||
}
|
||||
|
||||
|
||||
void p3PhotoService::msgsChanged(
|
||||
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> >& msgs)
|
||||
void p3PhotoService::msgsChanged(GxsMsgIdResult& msgs)
|
||||
{
|
||||
RsStackMutex stack(mPhotoMutex);
|
||||
|
||||
|
@ -56,8 +56,7 @@ public:
|
||||
void groupsChanged(std::list<RsGxsGroupId>& grpIds);
|
||||
|
||||
|
||||
void msgsChanged(std::map<RsGxsGroupId,
|
||||
std::vector<RsGxsMessageId> >& msgs);
|
||||
void msgsChanged(GxsMsgIdResult& msgs);
|
||||
|
||||
RsTokenService* getTokenService();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user