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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user