aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ledger/fix-build-with-new-boost.patch
blob: fddef9199fe185d7d660e7b9dc6081f1ca8b587a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From a4436f782c4a6b7f919b74110939113af60fa5e7 Mon Sep 17 00:00:00 2001
From: Alexis Hildebrandt <afh@surryhill.net>
Date: Mon, 26 Sep 2016 18:19:52 +0200
Subject: [PATCH] Merge pull request #465 from dkasak/patch-1

Fix compilation error with boost 1.61
---
 src/item.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/item.h b/src/item.h
index ca16d87b..4dc6df7e 100644
--- a/src/item.h
+++ b/src/item.h
@@ -92,7 +92,7 @@ public:
 
   typedef std::pair<optional<value_t>, bool> tag_data_t;
   typedef std::map<string, tag_data_t,
-                   function<bool(string, string)> > string_map;
+                   std::function<bool(string, string)> > string_map;
 
   state_t              _state;
   optional<date_t>     _date;
-- 
2.16.2