Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/task/include/task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ using TaskPtr = std::shared_ptr<Task<InType, OutType>>;
/// @param in Input to pass to the task constructor.
/// @return Shared a pointer to the newly created task.
template <typename TaskType, typename InType>
std::shared_ptr<TaskType> TaskGetter(InType in) {
std::shared_ptr<TaskType> TaskGetter(const InType &in) {
return std::make_shared<TaskType>(in);
}

Expand Down
Loading