Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vika-F committed Sep 19, 2024
1 parent 2b44995 commit 050e6be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/daal/src/threading/threading.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ inline void threader_func_break(int i, bool & needBreak, const void * a)
/// @param[in] reserved Parameter reserved for the future. Currently unused.
/// @param[in] func Callable object that defines the loop body.
template <typename F>
inline void threader_for(int n, int reserved, const F & callable)
inline void threader_for(int n, int reserved, const F & func)
{
const void * a = static_cast<const void *>(&callable);
const void * a = static_cast<const void *>(&func);

_daal_threader_for(n, reserved, a, threader_func<F>);
}
Expand Down

0 comments on commit 050e6be

Please sign in to comment.