From 9b0bf0d720d5164e76fb3635965f77f5b320cee8 Mon Sep 17 00:00:00 2001
From: jcasals <jcasals@iri.upc.edu>
Date: Fri, 5 Jun 2020 12:33:52 +0200
Subject: [PATCH] Move Wpair wolf.h ---> converter.h

---
 include/core/common/wolf.h     | 8 --------
 include/core/utils/converter.h | 8 ++++++++
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/core/common/wolf.h b/include/core/common/wolf.h
index 68c1d028f..319b2df0b 100644
--- a/include/core/common/wolf.h
+++ b/include/core/common/wolf.h
@@ -283,14 +283,6 @@ inline bool file_exists(const std::string& _name)
 inline const Eigen::Vector3d gravity(void) {
     return Eigen::Vector3d(0,0,-9.806);
 }
-template<class A, class B>
-struct Wpair : std::pair<A,B>
-{
-  Wpair(A first, B second): std::pair<A,B>(first, second)
-    {
-
-    }
-};
 } // namespace wolf
 
 #endif /* WOLF_H_ */
diff --git a/include/core/utils/converter.h b/include/core/utils/converter.h
index 2f8a3ec19..8c8e34935 100644
--- a/include/core/utils/converter.h
+++ b/include/core/utils/converter.h
@@ -23,6 +23,14 @@
  */
 namespace wolf{
 
+template<class A, class B>
+struct Wpair : std::pair<A,B>
+{
+  Wpair(A first, B second): std::pair<A,B>(first, second)
+    {
+
+    }
+};
     //// CONVERTERS ~~~~ STRING ----> TYPE
 template<typename T>
 struct converter{
-- 
GitLab