Skip to content

Commit e48977e

Browse files
committed
Use _LIBCPP_CONSTEXPR_SINCE_CXX14 in place of constexpr
1 parent 6e21caf commit e48977e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libcxx/include/__algorithm/for_each.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <__config>
1616
#include <__iterator/segmented_iterator.h>
1717
#include <__type_traits/enable_if.h>
18-
#include <__utility/in_place.h>
1918
#include <__utility/move.h>
2019

2120
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
@@ -53,7 +52,7 @@ template <class,
5352
class _SegmentedIterator,
5453
class _Function,
5554
__enable_if_t<__is_segmented_iterator<_SegmentedIterator>::value, int> = 0>
56-
_LIBCPP_HIDE_FROM_ABI constexpr _Function
55+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Function
5756
__for_each(_SegmentedIterator __first, _SegmentedIterator __last, _Function& __func) {
5857
std::__for_each_segment(__first, __last, _ForeachSegment<_SegmentedIterator, _Function>(__func));
5958
return std::move(__func);

0 commit comments

Comments
 (0)