diff --git a/src/usages_clang.cpp b/src/usages_clang.cpp index 58d78d6..66bc258 100644 --- a/src/usages_clang.cpp +++ b/src/usages_clang.cpp @@ -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; }