Fix build error from ambiguous calls to call_if_valid()

This commit is contained in:
Davis King 2020-12-13 20:36:06 -05:00
parent 286ca71e1a
commit c5c761b5ad
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ namespace dlib
// ----------------------------------------------------------------------------------------
namespace impl
namespace civ_impl
{
template <
typename Funct,
@ -99,7 +99,7 @@ namespace dlib
true. Otherwise we do nothing and return false.
!*/
{
return impl::call_if_valid(special_(), f, std::forward<Args>(args)...);
return civ_impl::call_if_valid(special_(), f, std::forward<Args>(args)...);
}
// ----------------------------------------------------------------------------------------