Blob Blame History Raw
From 1856b8c4902498843f4da37a7aaeb2ce85acc1d3 Mon Sep 17 00:00:00 2001
From: Denis <dkasak@users.noreply.github.com>
Date: Mon, 12 Sep 2016 12:49:40 +0200
Subject: [PATCH] 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 ca16d87b3..4dc6df7e6 100644
--- a/src/item.h
+++ b/src/item.h
@@ -92,7 +92,7 @@ class item_t : public supports_flags<uint_least16_t>, public scope_t
 
   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;