Guest User

Untitled

a guest
Mar 14th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. index d85cc40e9..239551697 100644
  2. --- a/src/shogun/lib/any.h
  3. +++ b/src/shogun/lib/any.h
  4. @@ -279,10 +279,10 @@ namespace shogun {
  5. return compare(lhs(), rhs());
  6. }
  7.  
  8. - template <class T>
  9. + template <class T,
  10. + std::enable_if_t<utils::is_container<T>::value>* = nullptr>
  11. bool compare_impl(
  12. - maybe_most_important, const std::vector<T>& lhs,
  13. - const std::vector<T>& rhs)
  14. + maybe_most_important, const T& lhs, const T& rhs)
  15. {
  16. if (lhs.size() != rhs.size())
  17. {
Advertisement
Add Comment
Please, Sign In to add comment