Commit c5c761b5 authored by Davis King's avatar Davis King
Browse files

Fix build error from ambiguous calls to call_if_valid()

parent 286ca71e
...@@ -65,7 +65,7 @@ namespace dlib ...@@ -65,7 +65,7 @@ namespace dlib
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
namespace impl namespace civ_impl
{ {
template < template <
typename Funct, typename Funct,
...@@ -99,7 +99,7 @@ namespace dlib ...@@ -99,7 +99,7 @@ namespace dlib
true. Otherwise we do nothing and return false. 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)...);
} }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment