Skip to content

Commit dea7e36

Browse files
committed
Remove constexpr
1 parent c2f4b04 commit dea7e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/src/include/overridable_function.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ _LIBCPP_END_NAMESPACE_STD
7373
extern __typeof(symbol##_impl__) name __attribute__((weak_import)); \
7474
_LIBCPP_BEGIN_NAMESPACE_STD \
7575
template <> \
76-
constexpr bool __is_function_overridden<static_cast<type(*) arglist>(name)>() { \
76+
bool __is_function_overridden<static_cast<type(*) arglist>(name)>() { \
7777
return static_cast<type(*) arglist>(name) != symbol##_impl__; \
7878
} \
7979
_LIBCPP_END_NAMESPACE_STD \
@@ -94,7 +94,7 @@ _LIBCPP_END_NAMESPACE_STD
9494
[[gnu::weak, gnu::alias(_LIBCPP_TOSTRING(symbol##_impl__))]] type name arglist; \
9595
_LIBCPP_BEGIN_NAMESPACE_STD \
9696
template <> \
97-
constexpr bool __is_function_overridden<static_cast<type(*) arglist>(name)>() { \
97+
bool __is_function_overridden<static_cast<type(*) arglist>(name)>() { \
9898
return static_cast<type(*) arglist>(name) != symbol##_impl__; \
9999
} \
100100
_LIBCPP_END_NAMESPACE_STD \

0 commit comments

Comments
 (0)