We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad1accc commit c42f0c1Copy full SHA for c42f0c1
Framework/Core/include/Framework/AnalysisHelpers.h
@@ -126,7 +126,7 @@ struct WritingCursor {
126
using cursor_t = decltype(std::declval<TableBuilder>().cursor<persistent_table_t>());
127
128
template <typename... Ts>
129
- void operator()(Ts... args)
+ void operator()(Ts&&... args)
130
{
131
static_assert(sizeof...(Ts) == framework::pack_size(typename persistent_table_t::persistent_columns_t{}), "Argument number mismatch");
132
++mCount;
@@ -175,7 +175,7 @@ struct WritingCursor {
175
}
176
177
template <typename A>
178
- static decltype(auto) extract(A const& arg)
+ static decltype(auto) extract(A&& arg)
179
180
return arg;
181
0 commit comments