summaryrefslogtreecommitdiff
path: root/src/DiskWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DiskWriter.h')
-rw-r--r--src/DiskWriter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DiskWriter.h b/src/DiskWriter.h
index 960e346c..03a4147b 100644
--- a/src/DiskWriter.h
+++ b/src/DiskWriter.h
@@ -85,6 +85,9 @@ public:
// Drops cache in range [offset, offset + len)
virtual void dropCache(int64_t len, int64_t offset) {}
+
+ // Force physical write of data from OS buffer cache.
+ virtual void flushOSBuffers() {}
};
} // namespace aria2