From dd989c16bf4ede61142d79737a8f6568aa153fa2 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Sun, 3 Mar 2013 16:58:12 -0800 Subject: [PATCH] cyclegraph: missing form of checkReachable() I don't know how this managed to link previously. --- cyclegraph.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cyclegraph.cc b/cyclegraph.cc index f8cbdda..d2cac49 100644 --- a/cyclegraph.cc +++ b/cyclegraph.cc @@ -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 -- 2.34.1