LibIPC: Use default instead of an empty constructor/destructor

Default implementations allow for more optimizations.
See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
Brian Gianforcaro 2021-09-16 00:01:30 -07:00 committed by Andreas Kling
parent e2d154c74d
commit 0db46eecdc
Notes: sideshowbarker 2024-07-18 03:51:20 +09:00

View File

@ -19,7 +19,7 @@ class File {
public:
// Must have a default constructor, because LibIPC
// default-constructs arguments prior to decoding them.
File() { }
File() = default;
// Intentionally not `explicit`.
File(int fd)