mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-05 23:40:34 +08:00
clang-tidy modernize-use-equals-default
This commit is contained in:
committed by
Lorenz Meier
parent
9b5df10631
commit
4e32cb17df
@@ -94,7 +94,7 @@ class PrivData
|
||||
{
|
||||
public:
|
||||
PrivData() : _read_offset(0) {}
|
||||
~PrivData() {}
|
||||
~PrivData() = default;
|
||||
|
||||
size_t _read_offset;
|
||||
};
|
||||
@@ -107,7 +107,7 @@ public:
|
||||
_is_open_for_write(false),
|
||||
_write_offset(0) {}
|
||||
|
||||
~VCDevNode() {}
|
||||
~VCDevNode() = default;
|
||||
|
||||
virtual int open(device::file_t *handlep);
|
||||
virtual int close(device::file_t *handlep);
|
||||
|
||||
Reference in New Issue
Block a user