diff options
author | David Robillard <d@drobilla.net> | 2018-09-16 22:11:37 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-16 22:11:37 +0200 |
commit | 0c6bb92f3f59b6b86f3b7b56224677e79b2e6900 (patch) | |
tree | 40e3173eec8b493f22152372cc00782f2a076f92 /raul/Process.hpp | |
parent | 07396e8d23bb8724c5960b57aca33e08a97f4e52 (diff) | |
download | raul-0c6bb92f3f59b6b86f3b7b56224677e79b2e6900.tar.gz raul-0c6bb92f3f59b6b86f3b7b56224677e79b2e6900.tar.bz2 raul-0c6bb92f3f59b6b86f3b7b56224677e79b2e6900.zip |
Lint with clang-tidy
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 |