aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-05-11 16:02:15 +0100
committerfanquake <fanquake@gmail.com>2022-05-17 17:18:58 +0100
commit7aa40f55636be565441a9e0af8de0a346bfa4da2 (patch)
treecec851bcb9c00ea0d37da6b96cc5c65f2366862a /src/qt/peertablemodel.cpp
parentd5d40d59f8d12cf53c5ad1ce9710f3f108cec386 (diff)
downloadbitcoin-7aa40f55636be565441a9e0af8de0a346bfa4da2.tar.xz
refactor: use C++11 default initializers
Diffstat (limited to 'src/qt/peertablemodel.cpp')
-rw-r--r--src/qt/peertablemodel.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp
index 41c389d9cc..b7de88225e 100644
--- a/src/qt/peertablemodel.cpp
+++ b/src/qt/peertablemodel.cpp
@@ -28,10 +28,7 @@ PeerTableModel::PeerTableModel(interfaces::Node& node, QObject* parent) :
refresh();
}
-PeerTableModel::~PeerTableModel()
-{
- // Intentionally left empty
-}
+PeerTableModel::~PeerTableModel() = default;
void PeerTableModel::startAutoRefresh()
{