Commit e5acb044 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Removed unnecessary explicit deleting of operator== in DistributedVector and DistributedVectorView

parent aee91a62
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -43,10 +43,6 @@ public:
   using BaseType::DistributedArray;
   using BaseType::operator=;

   // comparison operator is defined in DistributedVectorExpressions
   template< typename ArrayT >
   bool operator == ( const ArrayT& a  ) = delete;

   // we return only the view so that the user cannot resize it
   LocalVectorViewType getLocalVectorView();

+0 −4
Original line number Diff line number Diff line
@@ -44,10 +44,6 @@ public:
   using BaseType::DistributedArrayView;
   using BaseType::operator=;

   // comparison operator is defined in DistributedVectorExpressions
   template< typename ArrayViewT >
   bool operator == ( const ArrayViewT& a  ) = delete;

   // In C++14, default constructors cannot be inherited, although Clang
   // and GCC since version 7.0 inherit them.
   // https://stackoverflow.com/a/51854172