mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
Fix the remaining unit tests for async traversal
This commit is contained in:
parent
64f91d8ce0
commit
d7d10e9448
@ -238,7 +238,6 @@ template <std::size_t ArgCount>
|
|||||||
struct async_unique_sync_visitor
|
struct async_unique_sync_visitor
|
||||||
: async_counter_base<async_unique_sync_visitor<ArgCount>> {
|
: async_counter_base<async_unique_sync_visitor<ArgCount>> {
|
||||||
|
|
||||||
explicit async_unique_sync_visitor() = default;
|
|
||||||
explicit async_unique_sync_visitor(not_accepted_tag) {
|
explicit async_unique_sync_visitor(not_accepted_tag) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -271,7 +270,6 @@ template <std::size_t ArgCount>
|
|||||||
struct async_unique_visitor
|
struct async_unique_visitor
|
||||||
: async_counter_base<async_unique_visitor<ArgCount>> {
|
: async_counter_base<async_unique_visitor<ArgCount>> {
|
||||||
|
|
||||||
explicit async_unique_visitor() = default;
|
|
||||||
explicit async_unique_visitor(not_accepted_tag) {
|
explicit async_unique_visitor(not_accepted_tag) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -299,9 +297,8 @@ struct async_unique_visitor
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
inline auto of(std::size_t i) {
|
||||||
constexpr auto of(T i) {
|
return std::make_unique<std::size_t>(i);
|
||||||
return std::make_unique<T>(i);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(async_traverse_in_place, construct_inplace_sync) {
|
TEST(async_traverse_in_place, construct_inplace_sync) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user