aboutsummaryrefslogtreecommitdiff
path: root/src/indirectmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/indirectmap.h')
-rw-r--r--src/indirectmap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/indirectmap.h b/src/indirectmap.h
index 76da4a6bd5..a9f4b0b9f2 100644
--- a/src/indirectmap.h
+++ b/src/indirectmap.h
@@ -1,10 +1,12 @@
-// Copyright (c) 2016 The Bitcoin Core developers
+// Copyright (c) 2016-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_INDIRECTMAP_H
#define BITCOIN_INDIRECTMAP_H
+#include <map>
+
template <class T>
struct DereferencingComparator { bool operator()(const T a, const T b) const { return *a < *b; } };