Skip to content

Commit eb4e205

Browse files
aalkinktf
authored andcommitted
DPL Analysis: fix access to created object in Spawns<> and Builds<>
1 parent 7c89004 commit eb4e205

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Framework/Core/include/Framework/AnalysisHelpers.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ struct Spawns : TableTransform<typename aod::MetadataTrait<framework::pack_head_
188188
return expression_pack_t{};
189189
}
190190

191-
T* operator->()
191+
typename T::table_t* operator->()
192192
{
193193
return table.get();
194194
}
195-
T& operator*()
195+
typename T::table_t const& operator*() const
196196
{
197-
return *table.get();
197+
return *table;
198198
}
199199

200200
auto asArrowTable()
@@ -359,9 +359,9 @@ struct Builds : TableTransform<typename aod::MetadataTrait<T>::metadata> {
359359
{
360360
return table.get();
361361
}
362-
T& operator*()
362+
T const& operator*() const
363363
{
364-
return *table.get();
364+
return *table;
365365
}
366366

367367
auto asArrowTable()

0 commit comments

Comments
 (0)