mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Fix CppChecker in rsphoto.h
/libretroshare/src/retroshare/rsphoto.h:162: warning: Cppcheck(noExplicitConstructor): Class 'RsPhotoComment' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
dd4ed2a7f1
commit
10c46ee35c
@ -159,7 +159,7 @@ class RsPhotoComment
|
|||||||
public:
|
public:
|
||||||
RsPhotoComment();
|
RsPhotoComment();
|
||||||
|
|
||||||
RsPhotoComment(const RsGxsPhotoCommentItem& comment);
|
explicit RsPhotoComment(const RsGxsPhotoCommentItem& comment);
|
||||||
|
|
||||||
RsPhotoComment& operator=(const RsGxsPhotoCommentItem& comment);
|
RsPhotoComment& operator=(const RsGxsPhotoCommentItem& comment);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user