mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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
|
||||
)
|
||||
{
|
||||
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
Block a user