mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 00:33:34 +08:00
clang-tidy: partially fix hicpp-use-equals-delete
This commit is contained in:
@@ -76,17 +76,17 @@ public:
|
||||
|
||||
// Singleton pattern
|
||||
static uORBTest::UnitTest &instance();
|
||||
~UnitTest() {}
|
||||
~UnitTest() = default;
|
||||
int test();
|
||||
template<typename S> int latency_test(orb_id_t T, bool print);
|
||||
int info();
|
||||
|
||||
private:
|
||||
UnitTest() : pubsubtest_passed(false), pubsubtest_print(false) {}
|
||||
|
||||
// Disallow copy
|
||||
UnitTest(const uORBTest::UnitTest & /*unused*/) = delete;
|
||||
|
||||
private:
|
||||
UnitTest() : pubsubtest_passed(false), pubsubtest_print(false) {}
|
||||
|
||||
static int pubsubtest_threadEntry(int argc, char *argv[]);
|
||||
int pubsublatency_main();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user