mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 08:07:46 +00:00
Internals: Rename recent template. No functional change.
This commit is contained in:
parent
de81593e98
commit
ea8b416e91
@ -30,13 +30,13 @@
|
|||||||
// Algorithms - common class
|
// Algorithms - common class
|
||||||
// For internal use, most graph algorithms use this as a base class
|
// For internal use, most graph algorithms use this as a base class
|
||||||
|
|
||||||
template <class T = V3Graph> // Or sometimes const V3Graph
|
template <class T_Graph = V3Graph> // Or sometimes const V3Graph
|
||||||
class GraphAlg {
|
class GraphAlg {
|
||||||
protected:
|
protected:
|
||||||
T* m_graphp; // Graph we're operating upon
|
T_Graph* m_graphp; // Graph we're operating upon
|
||||||
V3EdgeFuncP m_edgeFuncp; // Function that says we follow this edge
|
V3EdgeFuncP m_edgeFuncp; // Function that says we follow this edge
|
||||||
// CONSTRUCTORS
|
// CONSTRUCTORS
|
||||||
GraphAlg(T* graphp, V3EdgeFuncP edgeFuncp)
|
GraphAlg(T_Graph* graphp, V3EdgeFuncP edgeFuncp)
|
||||||
: m_graphp(graphp), m_edgeFuncp(edgeFuncp) {}
|
: m_graphp(graphp), m_edgeFuncp(edgeFuncp) {}
|
||||||
~GraphAlg() {}
|
~GraphAlg() {}
|
||||||
// METHODS
|
// METHODS
|
||||||
|
Loading…
Reference in New Issue
Block a user