Fully disable copy constructors for MSA handles
authorPhil Miller <mille121@illinois.edu>
Tue, 10 Feb 2009 21:54:04 +0000 (15:54 -0600)
committerPhil Miller <mille121@illinois.edu>
Thu, 10 Dec 2009 22:22:35 +0000 (16:22 -0600)
Replace the inline definitions of the MSA[12]D::Handle copy
constructors with simple declarations, so that the compiler correctly
treats them as unimplemented.

src/libs/ck-libs/multiphaseSharedArrays/msa-distArray.h

index c533305dca093ae7ec210bdda3d576df493c93cb..2b7d955ba25bf2705afeece88edb13f9995939e6 100644 (file)
@@ -68,7 +68,7 @@ public:
 
     private:
         // Disallow copy construction
-        Handle(Handle &m) {}
+        Handle(Handle &);
     };
 
     class Read : public Handle
@@ -468,7 +468,7 @@ public:
         }
     private:
         // Disallow copy construction
-        Handle(Handle &m) {}
+        Handle(Handle &);
     };
 
     class Read : public Handle