ckarrayindex: Delete copyFrom method thats no longer needed
authorRamprasad Venkataraman <ramv@illinois.edu>
Wed, 1 Jun 2011 15:39:44 +0000 (10:39 -0500)
committerRamprasad Venkataraman <ramv@illinois.edu>
Wed, 8 Jun 2011 15:37:39 +0000 (10:37 -0500)
src/ck-core/charm++.h

index ee494c3d2a020f75485a1e281968f0b2d4385ae8..5d603a38eb1779c81214845333114b57baf9a42b 100644 (file)
@@ -255,12 +255,6 @@ public:
        static CkHashCode staticHash(const void *a,size_t);
        int compare(const CkArrayIndex &ind) const;
        static int staticCompare(const void *a,const void *b,size_t);
-       void copyFrom(const CkArrayIndex &that)
-       {
-               nInts=that.nInts;
-               dimension=that.dimension;
-               for (int i=0;i<nInts;i++) index[i]=that.data()[i];
-       }
         CmiBool operator==(const CkArrayIndex& idx) const {
           if (nInts != idx.nInts) return CmiFalse;
           for (int i=0; i<nInts; i++)