We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fc2b18 commit 9c411b5Copy full SHA for 9c411b5
ut/columns_ut.cpp
@@ -95,7 +95,7 @@ static const auto LOWCARDINALITY_STRING_FOOBAR_10_ITEMS_BINARY =
95
96
template <typename Generator>
97
auto GenerateVector(size_t items, Generator && gen) {
98
- std::vector<my_result_of_t<Generator(size_t)>> result;
+ std::vector<my_result_of_t<Generator, size_t>> result;
99
result.reserve(items);
100
for (size_t i = 0; i < items; ++i) {
101
result.push_back(std::move(gen(i)));
ut/utils.h
@@ -78,7 +78,7 @@ using my_result_of_t =
78
#if __cplusplus >= 201703L
79
std::invoke_result_t<F, ArgTypes...>;
80
#else
81
- std::result_of_t<F()>;
+ std::result_of_t<F(ArgTypes...)>;
82
#endif
83
84
template <typename MeasureFunc>
0 commit comments