mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 16:15:23 -04:00
Fix CppCheck rsitem.h
/libretroshare/src/rsitems/rsitem.h:15: warning: Cppcheck(noExplicitConstructor): Class 'RsItem' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
478071304b
commit
7e47be56ea
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
class RsItem: public RsMemoryManagement::SmallObject
|
||||
{
|
||||
public:
|
||||
RsItem(uint32_t t);
|
||||
explicit RsItem(uint32_t t);
|
||||
RsItem(uint8_t ver, uint8_t cls, uint8_t t, uint8_t subtype);
|
||||
#ifdef DO_STATISTICS
|
||||
void *operator new(size_t s) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue