aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-04 12:06:41 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-04 12:06:42 +0200
commit403fa6b4a3cac18752ef70a282d7660c40e40035 (patch)
tree17641f3e8531d91eff4a079c53cecb86ab5c1819 /src/cryptonote_core/tx_pool.h
parentMerge pull request #4988 (diff)
parentcryptonote: Fix enum check in expand_transaction_2 (diff)
downloadmonero-403fa6b4a3cac18752ef70a282d7660c40e40035.tar.xz
Merge pull request #5115
fec359a6 cryptonote: Fix enum check in expand_transaction_2 (Tom Smeding) 9bf0e537 cryptonote: Add const-qualifier on comparison functor (Tom Smeding) 5d2fdc2e serialization: Use pos_type instead of streampos (Tom Smeding)
Diffstat (limited to 'src/cryptonote_core/tx_pool.h')
-rw-r--r--src/cryptonote_core/tx_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h
index 670d70d77..8dd0337f0 100644
--- a/src/cryptonote_core/tx_pool.h
+++ b/src/cryptonote_core/tx_pool.h
@@ -61,7 +61,7 @@ namespace cryptonote
class txCompare
{
public:
- bool operator()(const tx_by_fee_and_receive_time_entry& a, const tx_by_fee_and_receive_time_entry& b)
+ bool operator()(const tx_by_fee_and_receive_time_entry& a, const tx_by_fee_and_receive_time_entry& b) const
{
// sort by greatest first, not least
if (a.first.first > b.first.first) return true;