mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue