[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 7ea93d3 09/10: Adapt 2012-06-15 patches just
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 7ea93d3 09/10: Adapt 2012-06-15 patches just applied to renamed caching class |
Date: |
Tue, 2 Aug 2016 12:35:21 +0000 (UTC) |
branch: master
commit 7ea93d3b823eee80ab800fc731c192f38e60184a
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Adapt 2012-06-15 patches just applied to renamed caching class
---
database.cpp | 2 +-
dbdict.hpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/database.cpp b/database.cpp
index c586af3..6c7b65f 100644
--- a/database.cpp
+++ b/database.cpp
@@ -190,7 +190,7 @@ void product_database::initialize(std::string const&
product_name)
else
{
std::string
filename(product_data(product_name).datum("DatabaseFilename"));
- db_ = DBDictionary::get_cached(AddDataDir(filename));
+ db_ = DBDictionary::read_from_cache(AddDataDir(filename));
}
maturity_age_ = static_cast<int>(Query(DB_MaturityAge));
length_ = maturity_age_ - index_.index_vector()[e_axis_issue_age];
diff --git a/dbdict.hpp b/dbdict.hpp
index 09221a1..549ec62 100644
--- a/dbdict.hpp
+++ b/dbdict.hpp
@@ -25,8 +25,8 @@
#include "config.hpp"
#include "any_member.hpp"
+#include "cache_file_reads.hpp"
#include "dbvalue.hpp"
-#include "loaded_files_cache.hpp"
#include "obstruct_slicing.hpp"
#include "so_attributes.hpp"
#include "uncopyable_lmi.hpp"
@@ -41,7 +41,7 @@ class LMI_SO DBDictionary
,virtual private obstruct_slicing <DBDictionary>
, public xml_serializable <DBDictionary>
, public MemberSymbolTable <DBDictionary>
- , public loaded_from_cache <DBDictionary>
+ , public cache_file_reads <DBDictionary>
{
friend class DatabaseDocument;
friend class input_test; // For test_product_database().
- [lmi-commits] [lmi] master updated (a60bbf4 -> 4591445), Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master cc4b3eb 01/10: Expunge superfluous typenames, Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master fd26a86 05/10: Expunge typedefs that are no longer helpful, Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master 469307a 03/10: Use 'auto' for iterator type, Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master 780fb8b 04/10: Deduce pair type rather than specify it, Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master b178f96 02/10: Improve typedef-names for type retrieved from cache, Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master 80a031e 06/10: Expunge an intermediate variable, and simplify control flow, Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master 4591445 10/10: Initialize antediluvian database statically, Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master 7f9eece 07/10: Remove old caching from DBDictionary (VS), Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master 7fffe41 08/10: Use caching for DBDictionary (VS), Greg Chicares, 2016/08/02
- [lmi-commits] [lmi] master 7ea93d3 09/10: Adapt 2012-06-15 patches just applied to renamed caching class,
Greg Chicares <=