Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index d85cc40e9..239551697 100644
- --- a/src/shogun/lib/any.h
- +++ b/src/shogun/lib/any.h
- @@ -279,10 +279,10 @@ namespace shogun {
- return compare(lhs(), rhs());
- }
- - template <class T>
- + template <class T,
- + std::enable_if_t<utils::is_container<T>::value>* = nullptr>
- bool compare_impl(
- - maybe_most_important, const std::vector<T>& lhs,
- - const std::vector<T>& rhs)
- + maybe_most_important, const T& lhs, const T& rhs)
- {
- if (lhs.size() != rhs.size())
- {
Advertisement
Add Comment
Please, Sign In to add comment