Give up with --std=c++11

There are too many distros that use old versions of g++ that don't support it adequately.
This commit is contained in:
Joe Thornber
2013-08-08 10:49:59 +01:00
parent 79f64267b5
commit 0029962f20
10 changed files with 65 additions and 47 deletions

View File

@@ -131,7 +131,7 @@ namespace thin_provisioning {
using namespace superblock_detail;
superblock sb;
auto r = bm->read_lock(location, superblock_validator());
block_manager<>::read_ref r = bm->read_lock(location, superblock_validator());
superblock_disk const *sbd = reinterpret_cast<superblock_disk const *>(&r.data());
superblock_traits::unpack(*sbd, sb);
return sb;