Skip to content

Commit 9c411b5

Browse files
committed
Fix win build, attempt #4
1 parent 4fc2b18 commit 9c411b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ut/columns_ut.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static const auto LOWCARDINALITY_STRING_FOOBAR_10_ITEMS_BINARY =
9595

9696
template <typename Generator>
9797
auto GenerateVector(size_t items, Generator && gen) {
98-
std::vector<my_result_of_t<Generator(size_t)>> result;
98+
std::vector<my_result_of_t<Generator, size_t>> result;
9999
result.reserve(items);
100100
for (size_t i = 0; i < items; ++i) {
101101
result.push_back(std::move(gen(i)));

ut/utils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ using my_result_of_t =
7878
#if __cplusplus >= 201703L
7979
std::invoke_result_t<F, ArgTypes...>;
8080
#else
81-
std::result_of_t<F()>;
81+
std::result_of_t<F(ArgTypes...)>;
8282
#endif
8383

8484
template <typename MeasureFunc>

0 commit comments

Comments
 (0)