Remove unused lamba capture to fix clang warning

Issue #3564
This commit is contained in:
Ehmry - 2019-11-28 14:18:03 +01:00 committed by Christian Helmuth
parent 23710dff5e
commit 2c510bb7f9
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ Hw::Address_space::Address_space(Page_table & tt,
Hw::Address_space::Address_space(Platform_pd & pd)
: _tt(*construct_at<Page_table>(_table_alloc(), *((Page_table*)Hw::Mm::core_page_tables().base))),
_tt_phys((addr_t)_cma().phys_addr(&_tt)),
_tt_array(new (_cma()) Array([this] (void * virt) {
_tt_array(new (_cma()) Array([] (void * virt) {
return (addr_t)_cma().phys_addr(virt);})),
_tt_alloc(_tt_array->alloc()),
_kobj(true, *(Page_table*)translation_table_phys(), pd) { }