From 2b7c4a86550d0257bb805cb4a95f71ef3b66cd87 Mon Sep 17 00:00:00 2001
From: Olivier Stasse <ostasse@laas.fr>
Date: Wed, 15 Jan 2020 05:10:31 +0100
Subject: [PATCH] [headers] writeGraph simplified The code is not used.

---
 include/dynamic-graph/time-dependency.t.cpp | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/include/dynamic-graph/time-dependency.t.cpp b/include/dynamic-graph/time-dependency.t.cpp
index 5e418a1c..c4535dcb 100644
--- a/include/dynamic-graph/time-dependency.t.cpp
+++ b/include/dynamic-graph/time-dependency.t.cpp
@@ -113,21 +113,6 @@ bool TimeDependency<Time>::needUpdate(const Time &t1) const {
 
 template <class Time>
 std::ostream &TimeDependency<Time>::writeGraph(std::ostream &os) const {
-  std::string LeaderLocalName;
-  std::string LeaderNodeName;
-  leader.ExtractNodeAndLocalNames(LeaderLocalName, LeaderNodeName);
-  if (dependencies.size() != 0) {
-    const typename Dependencies::const_iterator itend = dependencies.end();
-    for (typename Dependencies::const_iterator it = dependencies.begin();
-         it != itend; ++it) {
-      std::string itLocalName, itNodeName;
-      (*it)->ExtractNodeAndLocalNames(itLocalName, itNodeName);
-      os << "\"" << itNodeName << "\" -> \"" << LeaderNodeName << "\""
-         << std::endl
-         << " [ headlabel = \"" << LeaderLocalName << "\" , taillabel = \""
-         << itLocalName << "\" ]" << std::endl;
-    }
-  }
   return os;
 }
 
-- 
GitLab