Skip to content

Commit e630334

Browse files
authored
Merge pull request #5984 from apple/🍒/rome/9ec115978ea2bdfc60800cd3c21264341cdc8b0a
[lldb] Fix compile error in Lua typemap
2 parents 3692700 + 113f3ca commit e630334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lldb/bindings/lua/lua-typemaps.swig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ LLDB_NUMBER_TYPEMAP(enum SWIGTYPE);
247247
// Typemap for file handles (e.g. used in SBDebugger::GetOutputFileHandle)
248248

249249
%typemap(out) lldb::FileSP {
250-
lldb::FileSP &sp = $1;
250+
lldb::FileSP sp = $1;
251251
if (sp && sp->IsValid()) {
252252
luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream));
253253
p->closef = &LLDBSwigLuaCloseFileHandle;

0 commit comments

Comments
 (0)