17 lines
521 B
Diff
17 lines
521 B
Diff
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 {
|