1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-28 01:00:28 +03:00

src: Fix the build on Mac

When compiled on Mac with `clang`, the following error occurs at
compile-time:

```
./diff.hh:56:28: error: no member named 'min' in namespace 'std'
    const int max_D = std::min((M + N + 1) / 2 + 1, cost_limit);
                      ~~~~~^
```
This commit is contained in:
Frank LENORMAND 2019-12-01 21:55:55 +01:00
parent 2623366514
commit 63092d12c0

View File

@ -7,6 +7,7 @@
#include "array_view.hh"
#include <algorithm>
#include <functional>
#include <iterator>
#include <memory>