Skip to content

Commit d501431

Browse files
ashgtiJDevlieghere
andauthored
Update lldb/tools/lldb-dap/Handler/VariablesRequestHandler.cpp
Co-authored-by: Jonas Devlieghere <[email protected]>
1 parent 26d5c6f commit d501431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/Handler/VariablesRequestHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ VariablesRequestHandler::Run(const VariablesArguments &arguments) const {
141141
std::optional<std::string> custom_name = {}) {
142142
if (!child.IsValid())
143143
return;
144-
int64_t child_var_ref =
144+
const int64_t child_var_ref =
145145
dap.variables.InsertVariable(child, is_permanent);
146146
variables.emplace_back(
147147
CreateVariable(child, child_var_ref, hex,

0 commit comments

Comments
 (0)