cyclegraph: trivial shortening
authorBrian Norris <banorris@uci.edu>
Wed, 6 Feb 2013 21:42:24 +0000 (13:42 -0800)
committerBrian Norris <banorris@uci.edu>
Wed, 6 Feb 2013 21:44:36 +0000 (13:44 -0800)
cyclegraph.h

index 5f6974b9033f3950af16f7108270bc427c2c9ce5..8efd5d416ff05e2b372d2eae183d0686d704d36e 100644 (file)
@@ -71,14 +71,12 @@ class CycleNode {
        unsigned int getNumBackEdges() const;
        bool setRMW(CycleNode *);
        CycleNode * getRMW() const;
+       void clearRMW() { hasRMW = NULL; }
        const ModelAction * getAction() const { return action; }
 
        void popEdge() {
                edges.pop_back();
        }
-       void clearRMW() {
-               hasRMW = NULL;
-       }
 
        SNAPSHOTALLOC
  private: