[space-map/noop] Be explicit about returning an optional
Needed for older version of g++
This commit is contained in:
parent
f5acd0426d
commit
5e5409f48b
@ -61,7 +61,7 @@ namespace persistent_data {
|
|||||||
|
|
||||||
maybe_block find_free(span_iterator &it) {
|
maybe_block find_free(span_iterator &it) {
|
||||||
fail();
|
fail();
|
||||||
return 0;
|
return boost::optional<block_address>(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool count_possibly_greater_than_one(block_address b) const {
|
bool count_possibly_greater_than_one(block_address b) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user