potential fix for gcc 5.1 onward (#2870)

Co-authored-by: Your Name <you@example.com>
pull/2878/head
pfeatherstone 12 months ago committed by GitHub
parent 57b77a0e41
commit afede571cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save