mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
fixup! Use string_view for a couple of Dbg methods
This commit is contained in:
parent
da7749fc43
commit
d69d0da62e
2 changed files with 3 additions and 2 deletions
|
@ -148,9 +148,10 @@ bool DbgBreakpoint::SetLocation(ParseLocationRec plr, string_view loc_str)
|
|||
|
||||
else if ( plr.type == plrFunction )
|
||||
{
|
||||
std::string loc_s(loc_str);
|
||||
kind = BP_FUNC;
|
||||
function_name = make_full_var_name(current_module.c_str(),
|
||||
loc_str.data());
|
||||
loc_s.c_str());
|
||||
at_stmt = plr.stmt;
|
||||
const Location* loc = at_stmt->GetLocationInfo();
|
||||
snprintf(description, sizeof(description), "%s at %s:%d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue