small compiler fix in = operator
authorSameer Kumar <skumar2@uiuc.edu>
Thu, 14 Oct 2004 19:26:13 +0000 (19:26 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Thu, 14 Oct 2004 19:26:13 +0000 (19:26 +0000)
src/ck-com/ComlibManager.C
src/ck-com/ComlibManager.h

index 0316a72b843dc258428aef655480a24142246ee9..4fed9f521294b774b001686c1a8efd21730a1841 100644 (file)
@@ -1011,7 +1011,7 @@ ComlibInstanceHandle::ComlibInstanceHandle(const ComlibInstanceHandle &h)
     ref();
 }
 
-ComlibInstanceHandle& ComlibInstanceHandle::operator=(ComlibInstanceHandle &h) {
+ComlibInstanceHandle& ComlibInstanceHandle::operator=(const ComlibInstanceHandle &h) {
     _instid = h._instid;
     _dmid = h._dmid;
     toForward = h.toForward;
index 563503a0c149413ee4da4677fa0f1907d2c078d0..bb9ea118b49e095807e6add4f92416c29692c162 100644 (file)
@@ -68,7 +68,7 @@ class ComlibInstanceHandle : public CkDelegateData {
     ComlibInstanceHandle(const ComlibInstanceHandle &h);
     ComlibInstanceHandle(int instid, CkGroupID dmid);    
    
-    ComlibInstanceHandle &operator=(ComlibInstanceHandle &h);
+    ComlibInstanceHandle &operator=(const ComlibInstanceHandle &h);
 
     void setForwardingOnMigration(){toForward = 1;} 
     void beginIteration();