added a const to the group ID in setGroupDepID
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 14 Feb 2011 21:53:37 +0000 (15:53 -0600)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 14 Feb 2011 21:53:37 +0000 (15:53 -0600)
src/ck-core/charm++.h

index 00fcb50677b9ddb22d6a1c47b386eed9adfa8747..9f2296fa87459ab4a1bac9b63c0330d275fb7a52 100644 (file)
@@ -157,7 +157,7 @@ public:
        }
        
        inline void setQueueing(int queueingtype_) {queueingtype=queueingtype_;}
-       inline void setGroupDepID(CkGroupID &gid) { depGroupID = gid; }
+       inline void setGroupDepID(const CkGroupID &gid) { depGroupID = gid; }
 
        ///These are used by CkAllocateMarshallMsg, below:
        inline int getQueueing(void) const {return queueingtype;}