From d9965acf1d8a82a926ebe1ff7d41bcd291c6564a Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 21 Jul 2017 12:39:05 +0200 Subject: [PATCH] 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. --- libretroshare/src/file_sharing/hash_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/file_sharing/hash_cache.h b/libretroshare/src/file_sharing/hash_cache.h index c33544b54..05dcbd9c3 100644 --- a/libretroshare/src/file_sharing/hash_cache.h +++ b/libretroshare/src/file_sharing/hash_cache.h @@ -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.