Skip to content

Commit 60eb531

Browse files
committed
Used std::true_type instead of polyfill::bool_constant in UTs
1 parent 40ad21e commit 60eb531

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/ast_iterator_tests.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ TEST_CASE("ast_iterator") {
3434
};
3535
#ifdef SQLITE_ORM_EXPLICIT_GENERIC_LAMBDA_SUPPORTED
3636
const auto nodeLambda = overloaded{
37-
[&typeIndexes]<class UDF, class... CallArgs>(polyfill::bool_constant<true>,
37+
[&typeIndexes]<class UDF, class... CallArgs>(std::true_type,
3838
const internal::function_call<UDF, CallArgs...>& udfCall) {
3939
typeIndexes.push_back(typeid(udfCall.name));
4040
},
41-
[&typeIndexes](polyfill::bool_constant<true>, const internal::named_collate_base& collateCall) {
41+
[&typeIndexes](std::true_type, const internal::named_collate_base& collateCall) {
4242
typeIndexes.push_back(typeid(collateCall));
4343
},
44-
[&typeIndexes]<class T, class X, class Y, class Z>(polyfill::bool_constant<true>,
45-
const internal::highlight_t<T, X, Y, Z>&) {
44+
[&typeIndexes]<class T, class X, class Y, class Z>(std::true_type, const internal::highlight_t<T, X, Y, Z>&) {
4645
typeIndexes.push_back(typeid(T));
4746
},
4847
// swallow leaf expressions

0 commit comments

Comments
 (0)