From 39ecfd99000d45a4f5f6da0b8407161ccdd16366 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 24 Jun 2018 18:44:16 -0400 Subject: [PATCH] Internals: rank() public for future optimizers. --- src/V3Graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Graph.h b/src/V3Graph.h index c2db95619..75b09bbd4 100644 --- a/src/V3Graph.h +++ b/src/V3Graph.h @@ -164,7 +164,6 @@ protected: void verticesPushBack(V3Graph* graphp); // ACCESSORS void fanout(double fanout) { m_fanout = fanout; } - void rank(uint32_t rank) { m_rank = rank; } void inUnlink() { m_ins.reset(); } // Low level; normally unlinkDelete is what you want void outUnlink() { m_outs.reset(); } // Low level; normally unlinkDelete is what you want protected: @@ -197,6 +196,7 @@ public: uint32_t color() const { return m_color; } void color(uint32_t color) { m_color = color; } uint32_t rank() const { return m_rank; } + void rank(uint32_t rank) { m_rank = rank; } double fanout() const { return m_fanout; } void user(uint32_t user) { m_user = user; } uint32_t user() const { return m_user; }