mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:28:12 +00:00
LibVT: 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
744de5ec69
commit
b9c53a096a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ namespace VT {
|
|||
|
||||
class Position {
|
||||
public:
|
||||
Position() { }
|
||||
Position() = default;
|
||||
Position(int row, int column)
|
||||
: m_row(row)
|
||||
, m_column(column)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue