Skip to content

Commit

Permalink
Use SFL_CPP_VERSION instead of __cplusplus
Browse files Browse the repository at this point in the history
  • Loading branch information
slavenf committed Dec 19, 2024
1 parent f5d9c37 commit f1ac4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/sfl/devector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4352,7 +4352,7 @@ typename devector<T, A>::size_type
// ---- DEDUCTION GUIDES ------------------------------------------------------
//

#if __cplusplus >= 201703L
#if SFL_CPP_VERSION >= SFL_CPP_17

template < typename InputIt,
typename Allocator = std::allocator<typename std::iterator_traits<InputIt>::value_type>,
Expand Down
2 changes: 1 addition & 1 deletion include/sfl/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ typename vector<T, A>::size_type
// ---- DEDUCTION GUIDES ------------------------------------------------------
//

#if __cplusplus >= 201703L
#if SFL_CPP_VERSION >= SFL_CPP_17

template < typename InputIt,
typename Allocator = std::allocator<typename std::iterator_traits<InputIt>::value_type>,
Expand Down

0 comments on commit f1ac4e6

Please sign in to comment.