Skip to content

Commit

Permalink
Fix missing #include<algorithm> (issue #3, thanks to @chris0e3)
Browse files Browse the repository at this point in the history
For std::lexicographical_compare(), std::equal()
  • Loading branch information
martinmoene committed May 1, 2018
1 parent b62d14e commit 9c216c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/nonstd/span.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ using std::operator>=;

#else // span_USES_STD_SPAN

#include <algorithm>

// Compiler versions:
//
// MSVC++ 6.0 _MSC_VER == 1200 (Visual Studio 6.0)
Expand Down

0 comments on commit 9c216c5

Please sign in to comment.