Skip to content

Commit 0d0aff7

Browse files
committed
[lldb] Update PipeWindows.cpp to new Status API
(cherry picked from commit d22bee1)
1 parent 84dc1e8 commit 0d0aff7

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
@@ -145,7 +145,7 @@ Status PipeWindows::CreateWithUniqueName(llvm::StringRef prefix,
145145
::RpcStringFreeA(&unique_string);
146146
error = CreateNew(pipe_name, child_process_inherit);
147147
} else {
148-
error.SetError(status, eErrorTypeWin32);
148+
error = Status(status, eErrorTypeWin32);
149149
}
150150
if (error.Success())
151151
name = pipe_name;

0 commit comments

Comments
 (0)