aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Host/posix/HostThreadPosix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/posix/HostThreadPosix.cpp')
-rw-r--r--lldb/source/Host/posix/HostThreadPosix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Host/posix/HostThreadPosix.cpp b/lldb/source/Host/posix/HostThreadPosix.cpp
index 31c7c7f8e2f3..4250e07e51cc 100644
--- a/lldb/source/Host/posix/HostThreadPosix.cpp
+++ b/lldb/source/Host/posix/HostThreadPosix.cpp
@@ -9,18 +9,18 @@
#include "lldb/Host/posix/HostThreadPosix.h"
#include "lldb/Utility/Status.h"
-#include <errno.h>
+#include <cerrno>
#include <pthread.h>
using namespace lldb;
using namespace lldb_private;
-HostThreadPosix::HostThreadPosix() {}
+HostThreadPosix::HostThreadPosix() = default;
HostThreadPosix::HostThreadPosix(lldb::thread_t thread)
: HostNativeThreadBase(thread) {}
-HostThreadPosix::~HostThreadPosix() {}
+HostThreadPosix::~HostThreadPosix() = default;
Status HostThreadPosix::Join(lldb::thread_result_t *result) {
Status error;