Commit ffb44342 authored by Davis King's avatar Davis King

Fixed missing return statement

parent c772e4ae
......@@ -407,10 +407,7 @@ namespace dlib
if (shared_node->del)
return static_cast<D*>(shared_node->del->get_deleter_void(typeid(D)));
}
else
{
return 0;
}
return 0;
}
template <typename Y>
......
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