mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -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:
|
||||
RsPhotoComment();
|
||||
|
||||
RsPhotoComment(const RsGxsPhotoCommentItem& comment);
|
||||
explicit RsPhotoComment(const RsGxsPhotoCommentItem& comment);
|
||||
|
||||
RsPhotoComment& operator=(const RsGxsPhotoCommentItem& comment);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user