mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05: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
@ -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…
x
Reference in New Issue
Block a user