mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
Fix CppCheck in hash_cache.h
/libretroshare/src/file_sharing/hash_cache.h:57: warning: Cppcheck(noExplicitConstructor): Class 'HashStorage' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
f18a842d9d
commit
d9965acf1d
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public:
|
||||||
class HashStorage: public RsTickingThread
|
class HashStorage: public RsTickingThread
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
HashStorage(const std::string& save_file_name) ;
|
explicit HashStorage(const std::string& save_file_name) ;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief requestHash Requests the hash for the given file, assuming size and mod_time are the same.
|
* \brief requestHash Requests the hash for the given file, assuming size and mod_time are the same.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue