summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/item.cc b/src/item.cc
index 30727c1b..df0ce920 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -105,7 +105,9 @@ optional<value_t> item_t::get_tag(const mask_t& tag_mask,
namespace {
struct CaseInsensitiveKeyCompare
+#if __cplusplus < 201103L
: public std::binary_function<string, string, bool>
+#endif
{
bool operator()(const string& s1, const string& s2) const {
return boost::algorithm::ilexicographical_compare(s1, s2);