From 98d55582eb467812210bdd72ee995001fae9be6e Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Sun, 13 Mar 2016 09:47:37 +0000 Subject: [PATCH] Chnaged about constructor(destructor) in cache.h --- src/cache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cache.h b/src/cache.h index 63e5664..d4b6630 100644 --- a/src/cache.h +++ b/src/cache.h @@ -60,15 +60,15 @@ class StatCache bool IsCacheNoObject; private: + StatCache(); + ~StatCache(); + void Clear(void); bool GetStat(std::string& key, struct stat* pst, headers_t* meta, bool overcheck, const char* petag, bool* pisforce); // Truncate stat cache bool TruncateCache(void); public: - StatCache(); - ~StatCache(); - // Reference singleton static StatCache* getStatCacheData(void) { return &singleton;