| 205 | } |
| 206 | |
| 207 | void CachedReader::insert( const std::string &file, ConstObjectPtr obj ) |
| 208 | { |
| 209 | m_data->m_fileErrors.erase( file ); |
| 210 | m_data->m_cache.set( PARAM(file), obj.get(), ObjectPool::StoreReference ); |
| 211 | } |
| 212 | |
| 213 | bool CachedReader::cached( const std::string &file ) const |
| 214 | { |