mirror of https://github.com/davisking/dlib.git
potential fix for gcc 5.1 onward (#2870)
Co-authored-by: Your Name <you@example.com>
This commit is contained in:
parent
57b77a0e41
commit
afede571cb
|
@ -357,7 +357,7 @@ namespace dlib
|
||||||
Args&&... args
|
Args&&... args
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return binder_wrapper<Back, std::decay_t<F>, std::decay_t<Args>...>{std::forward<F>(func), std::forward<Args>(args)...};
|
return binder_wrapper<Back, std::decay_t<F>, std::decay_t<Args>...>{std::forward<F>(func), std::make_tuple(std::forward<Args>(args)...)};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue