From 460d3820d0d4e8abbf8613ccf47aaed061665d88 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sun, 3 Mar 2024 17:39:14 -0800 Subject: Explicitly capture "this" in lambdas Suppresses a warning on newer compilers for -std=c++20. --- riscv/interactive.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/riscv/interactive.cc b/riscv/interactive.cc index d9fb39b..e32c728 100644 --- a/riscv/interactive.cc +++ b/riscv/interactive.cc @@ -413,7 +413,7 @@ void sim_t::interactive_run(const std::string& cmd, const std::vector& args) -- cgit v1.1