Skip to content

Commit 96c02e3

Browse files
authored
Hotfix for clang-tidy remark in modules/task/include/task.hpp (#660)
1 parent 7344c2c commit 96c02e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/task/include/task.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ using TaskPtr = std::shared_ptr<Task<InType, OutType>>;
283283
/// @param in Input to pass to the task constructor.
284284
/// @return Shared a pointer to the newly created task.
285285
template <typename TaskType, typename InType>
286-
std::shared_ptr<TaskType> TaskGetter(InType in) {
286+
std::shared_ptr<TaskType> TaskGetter(const InType &in) {
287287
return std::make_shared<TaskType>(in);
288288
}
289289

0 commit comments

Comments
 (0)