Fix these errors:

unit-tests/array_block_t.cc:38: error: using 'typename' outside of template
unit-tests/array_block_t.cc:39: error: using 'typename' outside of template
unit-tests/array_block_t.cc:40: error: using 'typename' outside of template

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
Joe Thornber 2015-01-16 10:18:21 +00:00
parent f25e0ca6d3
commit 50341faa64

View File

@ -35,9 +35,9 @@ using namespace testing;
namespace { namespace {
uint64_t MAX_VALUE = 1000ull; uint64_t MAX_VALUE = 1000ull;
block_address const NR_BLOCKS = 1024; block_address const NR_BLOCKS = 1024;
typedef typename bcache::noop_validator noop_validator; typedef bcache::noop_validator noop_validator;
typedef typename block_manager<>::read_ref read_ref; typedef block_manager<>::read_ref read_ref;
typedef typename block_manager<>::write_ref write_ref; typedef block_manager<>::write_ref write_ref;
// FIXME: lift to utils? // FIXME: lift to utils?
class simple_ref_counter { class simple_ref_counter {