[space-map/noop] Be explicit about returning an optional

Needed for older version of g++
This commit is contained in:
Joe Thornber 2019-06-05 11:07:28 +01:00
parent f5acd0426d
commit 5e5409f48b

View File

@ -61,7 +61,7 @@ namespace persistent_data {
maybe_block find_free(span_iterator &it) {
fail();
return 0;
return boost::optional<block_address>(0);
}
bool count_possibly_greater_than_one(block_address b) const {