mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
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:
parent
e2d154c74d
commit
0db46eecdc
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class File {
|
||||||
public:
|
public:
|
||||||
// Must have a default constructor, because LibIPC
|
// Must have a default constructor, because LibIPC
|
||||||
// default-constructs arguments prior to decoding them.
|
// default-constructs arguments prior to decoding them.
|
||||||
File() { }
|
File() = default;
|
||||||
|
|
||||||
// Intentionally not `explicit`.
|
// Intentionally not `explicit`.
|
||||||
File(int fd)
|
File(int fd)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue