diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
commit | 68f5f213bf0cbd0bd60a6849bf4379113ea06282 (patch) | |
tree | 7906520ed59fe4ef7c03de91d55f4f74b87e4072 /tracker-test/test.cpp | |
parent | db47f9fc711f9b0abeb8461042c40c70d5a71021 (diff) |
appease analyzer
Diffstat (limited to 'tracker-test/test.cpp')
-rw-r--r-- | tracker-test/test.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tracker-test/test.cpp b/tracker-test/test.cpp index f93f1556..0e09deb5 100644 --- a/tracker-test/test.cpp +++ b/tracker-test/test.cpp @@ -21,14 +21,9 @@ const double test_tracker::incr[6] = 70, 5, 3 }; -test_tracker::test_tracker() : - last_x { 0, 0, 0, 0, 0, 0 } -{ -} +test_tracker::test_tracker() = default; -test_tracker::~test_tracker() -{ -} +test_tracker::~test_tracker() = default; module_status test_tracker::start_tracker(QFrame*) { @@ -81,6 +76,7 @@ test_dialog::test_dialog() connect(ui.buttonBox, &QDialogButtonBox::clicked, [this](QAbstractButton* btn) { if (btn == ui.buttonBox->button(QDialogButtonBox::Abort)) + // NOLINTNEXTLINE *(volatile int*)nullptr = 0; }); |