Remove default arguments from friend declarations in MSA, because they make xlc unhappy
authorPhil Miller <mille121@illinois.edu>
Tue, 14 Oct 2008 16:52:03 +0000 (16:52 +0000)
committerPhil Miller <mille121@illinois.edu>
Tue, 14 Oct 2008 16:52:03 +0000 (16:52 +0000)
src/libs/ck-libs/multiphaseSharedArrays/msa-distArray.h

index 5379014a18640a35442cc09348bc2a6611e11639..98648a133f2acfa9c6a486c61473a811da203c93 100644 (file)
@@ -48,9 +48,9 @@ public:
         curMSA1D &msa;
         bool valid;
 
-        friend Read  &curMSA1D::syncToRead (MSA1D_Handle &m, int single = DEFAULT_SYNC_SINGLE);
-        friend Write &curMSA1D::syncToWrite(MSA1D_Handle &m, int single = DEFAULT_SYNC_SINGLE);
-        friend Accum &curMSA1D::syncToAccum(MSA1D_Handle &m, int single = DEFAULT_SYNC_SINGLE);
+        friend Read  &curMSA1D::syncToRead (MSA1D_Handle &m, int single);
+        friend Write &curMSA1D::syncToWrite(MSA1D_Handle &m, int single);
+        friend Accum &curMSA1D::syncToAccum(MSA1D_Handle &m, int single);
         void inline checkInvalidate(curMSA1D *m) 
         {
             if (m != &msa || !valid)