Skip to content

Commit 319dee6

Browse files
committed
Adding const to char*.
1 parent 06c1182 commit 319dee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/JSONUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ CreateRunInTerminalReverseRequest(const llvm::json::Object &launch_request,
14801480
// Keep all the top level items from the statistics dump, except for the
14811481
// "modules" array. It can be huge and cause delay
14821482
// Array and dictionary value will return as <key, JSON string> pairs
1483-
void FilterAndGetValueForKey(const lldb::SBStructuredData data, char *key,
1483+
void FilterAndGetValueForKey(const lldb::SBStructuredData data, const char *key,
14841484
llvm::json::Object &out) {
14851485
lldb::SBStructuredData value = data.GetValueForKey(key);
14861486
std::string key_utf8 = llvm::json::fixUTF8(key);

0 commit comments

Comments
 (0)