projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.gitignore: ignore local vscode workspace settings file
[lttng-tools.git]
/
src
/
common
/
file-descriptor.hpp
diff --git
a/src/common/file-descriptor.hpp
b/src/common/file-descriptor.hpp
index 68686a4adccc89efb7613a3b805e66052cce6c81..b467e2e382d5bc293380ed880b779a2b02bc591b 100644
(file)
--- a/
src/common/file-descriptor.hpp
+++ b/
src/common/file-descriptor.hpp
@@
-15,7
+15,7
@@
namespace lttng {
/* RAII wrapper around a UNIX file descriptor. */
class file_descriptor {
public:
/* RAII wrapper around a UNIX file descriptor. */
class file_descriptor {
public:
- file_descriptor() noexcept;
+ file_descriptor() noexcept
= default
;
explicit file_descriptor(int raw_fd) noexcept;
file_descriptor(const file_descriptor&) = delete;
explicit file_descriptor(int raw_fd) noexcept;
file_descriptor(const file_descriptor&) = delete;
@@
-43,6
+43,7
@@
public:
void write(const void *buffer, std::size_t size);
int fd() const noexcept;
void write(const void *buffer, std::size_t size);
int fd() const noexcept;
+
protected:
void _cleanup() noexcept;
protected:
void _cleanup() noexcept;
This page took
0.023199 seconds
and
4
git commands to generate.