summaryrefslogtreecommitdiffstats
path: root/indexlib/leafdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/leafdata.h')
-rw-r--r--indexlib/leafdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexlib/leafdata.h b/indexlib/leafdata.h
index fa08645e7..4b54a4e8a 100644
--- a/indexlib/leafdata.h
+++ b/indexlib/leafdata.h
@@ -60,7 +60,7 @@ struct leafdata_iterator : public std::iterator<STD_NAMESPACE_PREFIX input_itera
value_ += delta;
} else {
value_ = byte_io::read<uint32_t>( data_ );
- data_ += byte_io::byte_lenght<uint32_t>();
+ data_ += byte_io::byte_length<uint32_t>();
}
return value_ - 1;
}