From de0a153c53d4e88369564fa20befea5c87243c47 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Fri, 28 Dec 2001 02:31:44 +0000 Subject: [PATCH] finished change, attributes[e] -> seq in write_attribute() [SVN r12158] --- include/boost/graph/graphviz.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/graph/graphviz.hpp b/include/boost/graph/graphviz.hpp index 4001aa93..24702261 100644 --- a/include/boost/graph/graphviz.hpp +++ b/include/boost/graph/graphviz.hpp @@ -199,9 +199,9 @@ namespace boost { void write_attribute(std::ostream& out, const AttributeSequence& seq) const { - if (!attributes[e].empty()) { + if (!seq.empty()) { out << "["; - write_attributes(attributes[e], out); + write_attributes(seq, out); out << "]"; } }