aboutsummaryrefslogtreecommitdiffhomepage
path: root/history.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-04 16:00:35 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-04 16:00:35 -0800
commit19eddddcffe9d49fc33d89b0e624ab9eae4e9ee4 (patch)
tree4da39edbf408533b53ca6f0d964d9174ba48d775 /history.h
parentb1e86d6feac5e2bb03298b67c4897045ebcba45d (diff)
Fix for issue where history file would be read immediately on launch
Diffstat (limited to 'history.h')
-rw-r--r--history.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/history.h b/history.h
index e2d4612c..296cd399 100644
--- a/history.h
+++ b/history.h
@@ -159,6 +159,9 @@ private:
/** Loads old if necessary */
bool load_old_if_needed(void);
+
+ /** Memory maps the history file if necessary */
+ bool mmap_if_needed(void);
/** Deletes duplicates in new_items. */
void compact_new_items();