diff options
Diffstat (limited to 'gdbsupport/scoped_fd.h')
-rw-r--r-- | gdbsupport/scoped_fd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/scoped_fd.h b/gdbsupport/scoped_fd.h index f40ce8b..ec654df 100644 --- a/gdbsupport/scoped_fd.h +++ b/gdbsupport/scoped_fd.h @@ -30,7 +30,7 @@ class scoped_fd public: explicit scoped_fd (int fd = -1) noexcept : m_fd (fd) {} - scoped_fd (scoped_fd &&other) + scoped_fd (scoped_fd &&other) noexcept : m_fd (other.m_fd) { other.m_fd = -1; |