void-packages/srcpkgs/ledger/patches/gcc6.patch

12 lines
422 B
Diff
Raw Normal View History

2017-05-07 15:00:00 +02:00
--- src/item.h.orig
+++ 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;