From 37faf73182471eff0f661835f3cad3e104eab339 Mon Sep 17 00:00:00 2001 From: Alexander van Gessel Date: Wed, 22 Nov 2017 16:16:53 +0100 Subject: [PATCH] >= 1.64, not > 1.64 --- src/serialization/string_view.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/serialization/string_view.hpp b/src/serialization/string_view.hpp index af9afa87c4d21..7c76b6371383c 100644 --- a/src/serialization/string_view.hpp +++ b/src/serialization/string_view.hpp @@ -22,13 +22,13 @@ that class. */ #include /* - * Boost 1.61 already has string_view, but it fails to compile on some compilers. - * The problem is that in string_view::at's ternary expression, + * Earlier versions already have string_view, but fail to compile on some + * compilers. The problem is that in string_view::at's ternary expression, * BOOST_THROW_EXCEPTION is not seen as a throw-expression. If a ternary branch * is not a throw-expression, it must be of the same type as the other branch, * necessitating the ', res[0]' workaround. */ -#if BOOST_VERSION > 106400 +#if BOOST_VERSION >= 106400 /* Boost string_view is available, so we can just use it. */ #include