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:
Phenom 2017-07-21 12:39:05 +02:00 committed by csoler
parent f18a842d9d
commit d9965acf1d

View File

@ -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.