cyclegraph: missing form of checkReachable()
authorBrian Norris <banorris@uci.edu>
Mon, 4 Mar 2013 00:58:12 +0000 (16:58 -0800)
committerBrian Norris <banorris@uci.edu>
Mon, 4 Mar 2013 00:58:12 +0000 (16:58 -0800)
I don't know how this managed to link previously.

cyclegraph.cc

index f8cbdda81054a3992aa0f507c1b1bb8499887c5e..d2cac49c50913f8d81538160c854cd9fd60d3ad6 100644 (file)
@@ -425,13 +425,15 @@ bool CycleGraph::checkReachable(const T *from, const U *to) const
 
        return checkReachable(fromnode, tonode);
 }
-/* Instantiate three forms of CycleGraph::checkReachable */
+/* Instantiate four forms of CycleGraph::checkReachable */
 template bool CycleGraph::checkReachable(const ModelAction *from,
                const ModelAction *to) const;
 template bool CycleGraph::checkReachable(const ModelAction *from,
                const Promise *to) const;
 template bool CycleGraph::checkReachable(const Promise *from,
                const ModelAction *to) const;
+template bool CycleGraph::checkReachable(const Promise *from,
+               const Promise *to) const;
 
 /** @return True, if the promise has failed; false otherwise */
 bool CycleGraph::checkPromise(const ModelAction *fromact, Promise *promise) const