mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
Fix CppCheck in rspluginitems.h
/libretroshare/src/rsitems/rspluginitems.h:39: warning: Cppcheck(noExplicitConstructor): Class 'RsPluginItem' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
7db813defc
commit
628a23ae94
@ -36,7 +36,7 @@ const uint8_t RS_PKT_CLASS_PLUGIN_SUBTYPE_HASHSET = 0x01 ;
|
|||||||
class RsPluginItem: public RsItem
|
class RsPluginItem: public RsItem
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RsPluginItem(uint8_t plugin_item_subtype): RsItem(RS_PKT_VERSION1,RS_PKT_CLASS_CONFIG,RS_PKT_TYPE_PLUGIN_CONFIG,plugin_item_subtype) {}
|
explicit RsPluginItem(uint8_t plugin_item_subtype): RsItem(RS_PKT_VERSION1,RS_PKT_CLASS_CONFIG,RS_PKT_TYPE_PLUGIN_CONFIG,plugin_item_subtype) {}
|
||||||
virtual ~RsPluginItem() {}
|
virtual ~RsPluginItem() {}
|
||||||
|
|
||||||
virtual void clear() {}
|
virtual void clear() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user