diff options
Diffstat (limited to '')
-rw-r--r-- | src/cachestorefiles.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cachestorefiles.h b/src/cachestorefiles.h index 426cf83..10b2c1b 100644 --- a/src/cachestorefiles.h +++ b/src/cachestorefiles.h | |||
@@ -68,19 +68,19 @@ namespace Bu | |||
68 | 68 | ||
69 | virtual obtype *load( const keytype &key ) | 69 | virtual obtype *load( const keytype &key ) |
70 | { | 70 | { |
71 | try | 71 | // try |
72 | { | 72 | // { |
73 | Bu::MemBuf mb; | 73 | Bu::MemBuf mb; |
74 | Bu::Formatter f( mb ); | 74 | Bu::Formatter f( mb ); |
75 | f << sPrefix << "/" << key; | 75 | f << sPrefix << "/" << key; |
76 | Bu::File fIn( mb.getString(), Bu::File::Read ); | 76 | Bu::File fIn( mb.getString(), Bu::File::Read ); |
77 | obtype *pOb = __cacheStoreFilesLoad<keytype, obtype>( fIn, key ); | 77 | obtype *pOb = __cacheStoreFilesLoad<keytype, obtype>( fIn, key ); |
78 | return pOb; | 78 | return pOb; |
79 | } | 79 | // } |
80 | catch( std::exception &e ) | 80 | // catch( std::exception &e ) |
81 | { | 81 | // { |
82 | throw Bu::HashException( e.what() ); | 82 | // throw Bu::HashException( e.what() ); |
83 | } | 83 | // } |
84 | } | 84 | } |
85 | 85 | ||
86 | virtual void unload( obtype *pObj, const keytype & ) | 86 | virtual void unload( obtype *pObj, const keytype & ) |