Fix code error

Signed-off-by: huangtianzhi <huangtianzhi1@huawei.com>
This commit is contained in:
huangtianzhi 2023-10-27 09:55:15 +08:00
parent 642bb5c6d1
commit dcc382fa2b

View File

@ -200,7 +200,7 @@ void JSDebugger::DumpBreakpoints()
}
}
bool JSDebugger::IsBreakpointCondSatisfied(std::optional<JSBreakpoint> breakpoint)
bool JSDebugger::IsBreakpointCondSatisfied(std::optional<JSBreakpoint> breakpoint) const
{
if (!breakpoint.has_value()) {
return false;