Skip to content

Commit d22bee1

Browse files
committed
[lldb] Update PipeWindows.cpp to new Status API
1 parent 73c3b73 commit d22bee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Host/windows/PipeWindows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Status PipeWindows::CreateWithUniqueName(llvm::StringRef prefix,
136136
::RpcStringFreeA(&unique_string);
137137
error = CreateNew(pipe_name, child_process_inherit);
138138
} else {
139-
error.SetError(status, eErrorTypeWin32);
139+
error = Status(status, eErrorTypeWin32);
140140
}
141141
if (error.Success())
142142
name = pipe_name;

0 commit comments

Comments
 (0)