mirror of https://github.com/davisking/dlib.git
Fix build error from ambiguous calls to call_if_valid()
This commit is contained in:
parent
286ca71e1a
commit
c5c761b5ad
|
@ -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)...);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue