test-rm_nested: fix build error with -std=gnu++20

Fixes #4892
This commit is contained in:
Christian Prochaska 2023-05-16 11:56:36 +02:00 committed by Christian Helmuth
parent da6b384e3a
commit 7eb0b6928a

View File

@ -48,7 +48,7 @@ class Local_fault_handler : public Entrypoint
{
Region_map::State state = _region_map.state();
_fault_cnt ++;
_fault_cnt = _fault_cnt + 1;
log("region-map state is ",
state.type == Region_map::State::READ_FAULT ? "READ_FAULT" :