|
|
|
|
@ -759,9 +759,9 @@ Usages::Clang::Cache Usages::Clang::read_cache(const boost::filesystem::path &pr
|
|
|
|
|
if(boost::filesystem::exists(cache_path, ec)) { |
|
|
|
|
std::ifstream stream(cache_path.string()); |
|
|
|
|
if(stream) { |
|
|
|
|
Cache cache; |
|
|
|
|
boost::archive::text_iarchive text_iarchive(stream); |
|
|
|
|
try { |
|
|
|
|
Cache cache; |
|
|
|
|
boost::archive::text_iarchive text_iarchive(stream); |
|
|
|
|
text_iarchive >> cache; |
|
|
|
|
return cache; |
|
|
|
|
} |
|
|
|
|
|