diff options
Diffstat (limited to 'raul/Process.hpp')
-rw-r--r-- | raul/Process.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/raul/Process.hpp b/raul/Process.hpp index 5804775..717a900 100644 --- a/raul/Process.hpp +++ b/raul/Process.hpp @@ -47,7 +47,7 @@ public: // (in child) // Close all nonstandard file descriptors - struct rlimit max_fds; + struct rlimit max_fds{}; getrlimit(RLIMIT_NOFILE, &max_fds); for (rlim_t fd = 3; fd < max_fds.rlim_cur; ++fd) { close(static_cast<int>(fd)); @@ -79,7 +79,7 @@ public: } private: - Process() {} + Process() = default; }; } // namespace Raul |