summaryrefslogtreecommitdiffstats
path: root/include/utils/BlobCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils/BlobCache.h')
-rw-r--r--include/utils/BlobCache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/BlobCache.h b/include/utils/BlobCache.h
index 8f76d72..dc45ff0 100644
--- a/include/utils/BlobCache.h
+++ b/include/utils/BlobCache.h
@@ -82,6 +82,9 @@ private:
BlobCache(const BlobCache&);
void operator=(const BlobCache&);
+ // A random function helper to get around MinGW not having nrand48()
+ long int blob_random();
+
// clean evicts a randomly chosen set of entries from the cache such that
// the total size of all remaining entries is less than mMaxTotalSize/2.
void clean();