Skip to content

Commit

Permalink
Use the correct version to detect C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed Nov 11, 2024
1 parent ec5d494 commit 2e14a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sfl/private.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class normal_iterator
using pointer = typename std::iterator_traits<Iterator>::pointer;
using reference = typename std::iterator_traits<Iterator>::reference;
using iterator_category = typename std::iterator_traits<Iterator>::iterator_category;
#if SFL_CXX_VERSION >= 202004
#if SFL_CXX_VERSION >= 202002L
using iterator_concept = std::contiguous_iterator_tag;
#endif

Expand Down

0 comments on commit 2e14a62

Please sign in to comment.