Skip to content

Commit

Permalink
Fix condition in verge_sorter static_assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwenn committed Sep 21, 2020
1 parent 05e27c1 commit 60455f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cpp-sort/sorters/verge_sorter.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace cppsort
{
static_assert(
std::is_base_of<
std::forward_iterator_tag,
std::bidirectional_iterator_tag,
iterator_category_t<decltype(std::begin(iterable))>
>::value,
"verge_sorter requires at least bidirectional iterators"
Expand All @@ -68,7 +68,7 @@ namespace cppsort
{
static_assert(
std::is_base_of<
std::forward_iterator_tag,
std::bidirectional_iterator_tag,
iterator_category_t<BidirectionalIterator>
>::value,
"verge_sorter requires at least bidirectional iterators"
Expand Down

0 comments on commit 60455f2

Please sign in to comment.