aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablesortproxy.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-26 10:39:10 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-08-26 10:44:26 +0200
commitfa9eade142964d5482fe8d2109fb67a9556ae93d (patch)
treefb47b3838e0b76d50e5b3e617442bdbcca1a2e1a /src/qt/peertablesortproxy.cpp
parentfa786570a5fdf6723b35883054f9f840a3440f92 (diff)
downloadbitcoin-fa9eade142964d5482fe8d2109fb67a9556ae93d.tar.xz
Remove GetAddrName
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines.html#c131-avoid-trivial-getters-and-setters
Diffstat (limited to 'src/qt/peertablesortproxy.cpp')
-rw-r--r--src/qt/peertablesortproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/peertablesortproxy.cpp b/src/qt/peertablesortproxy.cpp
index f92eef48f1..419133bc32 100644
--- a/src/qt/peertablesortproxy.cpp
+++ b/src/qt/peertablesortproxy.cpp
@@ -25,7 +25,7 @@ bool PeerTableSortProxy::lessThan(const QModelIndex& left_index, const QModelInd
case PeerTableModel::NetNodeId:
return left_stats.nodeid < right_stats.nodeid;
case PeerTableModel::Address:
- return left_stats.addrName.compare(right_stats.addrName) < 0;
+ return left_stats.m_addr_name.compare(right_stats.m_addr_name) < 0;
case PeerTableModel::Direction:
return left_stats.fInbound > right_stats.fInbound; // default sort Inbound, then Outbound
case PeerTableModel::ConnectionType: