diff options
Diffstat (limited to 'test/vpnor/toc_lookup_found.cpp')
-rw-r--r-- | test/vpnor/toc_lookup_found.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpnor/toc_lookup_found.cpp b/test/vpnor/toc_lookup_found.cpp index c98b718..fdc5a10 100644 --- a/test/vpnor/toc_lookup_found.cpp +++ b/test/vpnor/toc_lookup_found.cpp @@ -39,7 +39,7 @@ int main() ctx = mbox_create_test_context(N_WINDOWS, WINDOW_SIZE); test::VpnorRoot root(ctx, toc, BLOCK_SIZE); - vpnor::partition::Table table(root.ro(), BLOCK_SIZE, PNOR_SIZE); + vpnor::partition::Table table(ctx); const struct pnor_partition& part = table.partition("TWO"); assert(part.data.id == 2); |