From 04873cb485b1c634409b19aa004167dfafc9748c Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 19 Jul 2013 08:38:11 +0200 Subject: [PATCH] Move static member definition to abg-viz-dot.cc file * include/libabigail/abg-viz-dot.h: Move definition of node_base::_M_count_total to ... * src/abg-viz-dot.cc: ... here. --- include/libabigail/abg-viz-dot.h | 4 ---- src/abg-viz-dot.cc | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/libabigail/abg-viz-dot.h b/include/libabigail/abg-viz-dot.h index 091fbffa..55991b48 100644 --- a/include/libabigail/abg-viz-dot.h +++ b/include/libabigail/abg-viz-dot.h @@ -48,10 +48,6 @@ struct node_base { } }; -// Define. -units_type node_base::_M_count_total; - - /// Useful constants. extern const style parent_sty; extern const style child_sty; diff --git a/src/abg-viz-dot.cc b/src/abg-viz-dot.cc index 250fb8d5..1939689f 100644 --- a/src/abg-viz-dot.cc +++ b/src/abg-viz-dot.cc @@ -32,6 +32,9 @@ using std::ostringstream; const style parent_sty = { color::white, color::black, "" }; const style child_sty = { color::white, color::gray75, "" }; +// Define. +units_type node_base::_M_count_total; + void dot::write() {