diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-09-16 00:21:07 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-16 17:17:13 +0200 |
commit | b9c53a096aef46cc87ae7a06106f17ac1864a3e3 (patch) | |
tree | 2c5c55fea91589dddc50be204ca6cfc549d79e9f /Userland/Libraries | |
parent | 744de5ec6985dac4a0f997eb58420c0b7b0330a0 (diff) | |
download | serenity-b9c53a096aef46cc87ae7a06106f17ac1864a3e3.zip |
LibVT: Use default instead of an empty constructor/destructor
Default implementations allow for more optimizations.
See: https://pvs-studio.com/en/docs/warnings/v832/
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibVT/Position.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibVT/Position.h b/Userland/Libraries/LibVT/Position.h index 886a635b48..a6ec9a8148 100644 --- a/Userland/Libraries/LibVT/Position.h +++ b/Userland/Libraries/LibVT/Position.h @@ -10,7 +10,7 @@ namespace VT { class Position { public: - Position() { } + Position() = default; Position(int row, int column) : m_row(row) , m_column(column) |