You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
521 B

persistent-data/space-maps/noop.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/persistent-data/space-maps/noop.h b/persistent-data/space-maps/noop.h
index 500dae8..6f71290 100644
--- a/persistent-data/space-maps/noop.h
+++ b/persistent-data/space-maps/noop.h
@@ -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 {