summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/addr.h')
-rw-r--r--net/disk_cache/addr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/addr.h b/net/disk_cache/addr.h
index 3a1cc33..375b2c5 100644
--- a/net/disk_cache/addr.h
+++ b/net/disk_cache/addr.h
@@ -50,6 +50,7 @@ const int kFirstAdditionlBlockFile = 4;
// 0000 0000 0000 0000 1111 1111 1111 1111 : block# 0 - 65,535 (2^16)
class Addr {
public:
+ Addr() : value_(0) {}
explicit Addr(CacheAddr address) : value_(address) {}
Addr(FileType file_type, int max_blocks, int block_file, int index) {
value_ = ((file_type << kFileTypeOffset) & kFileTypeMask) |