From e325f8d217b92b919b1029dc30efed2102490174 Mon Sep 17 00:00:00 2001
From: torin <torin@git.sch.bme.hu>
Date: Wed, 27 May 2015 13:03:17 +0200
Subject: [PATCH] =?UTF-8?q?tov=C3=A1bbi=20debug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 main.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/main.cpp b/main.cpp
index 783283e..b1d3007 100644
--- a/main.cpp
+++ b/main.cpp
@@ -163,7 +163,7 @@ public:
     erase(root,*t);
   }
 };
-}*/
+}
 
 namespace local_storage{
 template<class T>
@@ -368,7 +368,7 @@ public:
 };
 template<class T>
 int graph<T>::node::_id=0;
-}
+}*/
 
 void test1(int num)
 {
@@ -378,8 +378,8 @@ void test1(int num)
   {
     for(size_t i=0;i<num;i++)
     {
-      local_storage::graph<int> graph{};
-      graph.add_node(6);
+      //local_storage::graph<int> graph{};
+      //graph.add_node(6);
     }
   }
   end=time(0);
@@ -407,12 +407,12 @@ void test2(int num)
   {
     for(size_t i=0;i<num;i++)
     {
-      local_storage::graph<int> graph{};
+      /*local_storage::graph<int> graph{};
       for(size_t j=0;j<5;j++)
         graph.add_node(6);
       for(size_t j=0;j<5;j++)
         for(size_t l=0;l<5;l++)
-          graph.connect(graph[j],graph[l]);
+          graph.connect(graph[j],graph[l]);*/
     }
   }
   end=time(0);
@@ -445,7 +445,7 @@ void test3(int num)
   {
     for(size_t i=0;i<num;i++)
     {
-      local_storage::graph<int> graph{};
+      /*local_storage::graph<int> graph{};
       for(size_t j=0;j<29;j++)
         graph.add_node(6);
       graph.add_node(30);
@@ -453,7 +453,7 @@ void test3(int num)
         graph.connect(graph[j-1],graph[j]);
       local_storage::graph<int>::node* target;
       graph.run([&target](local_storage::graph<int>::node& node){if(node.data()==30) {target=&node;return true;}return false;});
-      graph.erase(*target);
+      graph.erase(*target);*/
     }
   }
   end=time(0);
-- 
GitLab