summaryrefslogtreecommitdiff
path: root/tools/lldb-server/Acceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lldb-server/Acceptor.h')
-rw-r--r--tools/lldb-server/Acceptor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lldb-server/Acceptor.h b/tools/lldb-server/Acceptor.h
index 410970915f1fe..207bb4d973a52 100644
--- a/tools/lldb-server/Acceptor.h
+++ b/tools/lldb-server/Acceptor.h
@@ -11,7 +11,7 @@
#include "lldb/Core/Connection.h"
#include "lldb/Host/Socket.h"
-#include "lldb/Utility/Error.h"
+#include "lldb/Utility/Status.h"
#include <functional>
#include <memory>
@@ -28,13 +28,13 @@ class Acceptor {
public:
virtual ~Acceptor() = default;
- Error Listen(int backlog);
+ Status Listen(int backlog);
- Error Accept(const bool child_processes_inherit, Connection *&conn);
+ Status Accept(const bool child_processes_inherit, Connection *&conn);
static std::unique_ptr<Acceptor> Create(llvm::StringRef name,
const bool child_processes_inherit,
- Error &error);
+ Status &error);
Socket::SocketProtocol GetSocketProtocol() const;