summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.cc b/src/buffer.cc
index d82b4627..3b636734 100644
--- a/src/buffer.cc
+++ b/src/buffer.cc
@@ -127,7 +127,9 @@ void Buffer::on_registered()
}
}
- for (auto& option : options().flatten_options())
+ for (auto& option : options().flatten_options()
+ | transform(&std::unique_ptr<Option>::get)
+ | gather<Vector<Option*>>())
on_option_changed(*option);
}