[block] read and write refs defined BLOCK_SIZE
This commit is contained in:
parent
0f3a9cc567
commit
92d70ad9c2
@ -129,6 +129,8 @@ namespace persistent_data {
|
|||||||
|
|
||||||
class read_ref {
|
class read_ref {
|
||||||
public:
|
public:
|
||||||
|
static uint32_t const BLOCK_SIZE = BlockSize;
|
||||||
|
|
||||||
read_ref(block_manager<BlockSize> const &bm,
|
read_ref(block_manager<BlockSize> const &bm,
|
||||||
typename block::ptr b);
|
typename block::ptr b);
|
||||||
read_ref(read_ref const &rhs);
|
read_ref(read_ref const &rhs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user