Commit 80dcad90 authored by Younes Khoudli's avatar Younes Khoudli Committed by Paul Hervot
Browse files

rat: printer: fix build issue with Boost >= 1.69

Boost 1.69 introduced an ADL barrier on boost::distance(), so the call
that depended on it failed to build. Simply use qualified name lookup
instead.

See also https://github.com/boostorg/range/pull/75

.

* vcsn/core/rat/printer.hh: Fix.
Reported-by: default avatarBaptiste Esteban <baptiste.esteban@epita.fr>

Fix #214
parent c71e8f7d
......@@ -289,7 +289,7 @@ namespace vcsn
// If in front of a row of letters, in strictly increasing
// order, issue a class.
auto r = letter_range(i, end);
if (3 < distance(r))
if (3 < boost::distance(r))
{
// Gather the letters.
auto letters = std::vector<label_t>{};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment