[build] missed lambda captured

This commit is contained in:
Timothy Stack 2019-05-21 22:37:36 -07:00
parent 0918063640
commit e18e8e214a
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ void handle_paging_key(int ch)
}
}
else {
lnav_data.ld_view_stack.top() | [](auto top_tc) {
lnav_data.ld_view_stack.top() | [&](auto top_tc) {
auto *dst_view = dynamic_cast<text_time_translator *>(top_tc->get_sub_source());
if (dst_view != nullptr) {