mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05: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
@ -54,7 +54,7 @@ public:
|
||||
class HashStorage: public RsTickingThread
|
||||
{
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user