get unit-tests working with g++ 4.4

This commit is contained in:
Joe Thornber
2011-08-30 12:47:42 +01:00
parent 19c7144b3b
commit a285fee757
3 changed files with 11 additions and 8 deletions

View File

@@ -491,7 +491,7 @@ namespace persistent_data {
block_address nr_blocks)
{
using namespace sm_disk_detail;
typename persistent_space_map::ptr sm(
typename sm_disk_detail::sm_disk<MetadataBlockSize>::ptr sm(
new sm_disk<MetadataBlockSize>(tm));
sm->extend(nr_blocks);
return sm;