mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 08:13:33 +08:00
c++11 default destructors
This commit is contained in:
@@ -54,8 +54,6 @@
|
||||
#include <asm/socket.h>
|
||||
#endif
|
||||
|
||||
MavlinkShell::MavlinkShell() = default;
|
||||
|
||||
MavlinkShell::~MavlinkShell()
|
||||
{
|
||||
//closing the pipes will stop the thread as well
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
class MavlinkShell
|
||||
{
|
||||
public:
|
||||
MavlinkShell();
|
||||
MavlinkShell() = default;
|
||||
|
||||
~MavlinkShell();
|
||||
|
||||
|
||||
@@ -65,8 +65,6 @@ MavlinkFtpTest::MavlinkFtpTest() :
|
||||
{
|
||||
}
|
||||
|
||||
MavlinkFtpTest::~MavlinkFtpTest() = default;
|
||||
|
||||
/// @brief Called before every test to initialize the FTP Server.
|
||||
void MavlinkFtpTest::_init()
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@ class MavlinkFtpTest : public UnitTest
|
||||
{
|
||||
public:
|
||||
MavlinkFtpTest();
|
||||
virtual ~MavlinkFtpTest();
|
||||
virtual ~MavlinkFtpTest() = default;
|
||||
|
||||
virtual bool run_tests(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user