Skip to content

Commit c42f0c1

Browse files
committed
fix for produces
1 parent ad1accc commit c42f0c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Framework/Core/include/Framework/AnalysisHelpers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ struct WritingCursor {
126126
using cursor_t = decltype(std::declval<TableBuilder>().cursor<persistent_table_t>());
127127

128128
template <typename... Ts>
129-
void operator()(Ts... args)
129+
void operator()(Ts&&... args)
130130
{
131131
static_assert(sizeof...(Ts) == framework::pack_size(typename persistent_table_t::persistent_columns_t{}), "Argument number mismatch");
132132
++mCount;
@@ -175,7 +175,7 @@ struct WritingCursor {
175175
}
176176

177177
template <typename A>
178-
static decltype(auto) extract(A const& arg)
178+
static decltype(auto) extract(A&& arg)
179179
{
180180
return arg;
181181
}

0 commit comments

Comments
 (0)