From 2162dd4dbde9f092e28b24683ca11ace08ca5799 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Tue, 9 Jun 2020 23:35:53 +0200
Subject: [PATCH] Remove #include core/utils/logging.h from mostly everywhere

---
 include/core/processor/processor_logging.h | 2 +-
 src/problem/problem.cpp                    | 2 +-
 test/gtest_ceres_manager.cpp               | 2 +-
 test/gtest_emplace.cpp                     | 2 +-
 test/gtest_factor_autodiff_distance_3d.cpp | 2 +-
 test/gtest_factor_base.cpp                 | 2 +-
 test/gtest_factory_state_block.cpp         | 2 +-
 test/gtest_frame_base.cpp                  | 2 +-
 test/gtest_local_param.cpp                 | 2 +-
 test/gtest_logging.cpp                     | 2 +-
 test/gtest_motion_buffer.cpp               | 2 +-
 test/gtest_param_prior.cpp                 | 2 +-
 test/gtest_problem.cpp                     | 2 +-
 test/gtest_processor_motion.cpp            | 2 +-
 test/gtest_processor_odom_3d.cpp           | 2 +-
 test/gtest_solver_manager.cpp              | 2 +-
 test/gtest_state_block.cpp                 | 2 +-
 test/gtest_trajectory.cpp                  | 2 +-
 test/gtest_tree_manager.cpp                | 2 +-
 test/gtest_tree_manager_sliding_window.cpp | 2 +-
 wolf_scripts/templates/gtest_template.cpp  | 2 +-
 21 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/include/core/processor/processor_logging.h b/include/core/processor/processor_logging.h
index de1d5ead8..bc1f8399a 100644
--- a/include/core/processor/processor_logging.h
+++ b/include/core/processor/processor_logging.h
@@ -9,7 +9,7 @@
 #define _WOLF_PROCESSOR_LOGGING_H_
 
 /// @brief un-comment for IDE highlights.
-//#include "core/utils/logging.h"
+
 
 #define __INTERNAL_WOLF_ASSERT_PROCESSOR \
   static_assert(std::is_base_of<ProcessorBase, \
diff --git a/src/problem/problem.cpp b/src/problem/problem.cpp
index 225e6f1ed..9eb62b2c1 100644
--- a/src/problem/problem.cpp
+++ b/src/problem/problem.cpp
@@ -18,7 +18,7 @@
 #include "core/state_block/state_angle.h"
 #include "core/tree_manager/factory_tree_manager.h"
 #include "core/tree_manager/tree_manager_base.h"
-#include "core/utils/logging.h"
+
 #include "core/utils/params_server.h"
 #include "core/utils/loader.h"
 #include "core/utils/check_log.h"
diff --git a/test/gtest_ceres_manager.cpp b/test/gtest_ceres_manager.cpp
index 454ff6dfb..5586332e6 100644
--- a/test/gtest_ceres_manager.cpp
+++ b/test/gtest_ceres_manager.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "core/sensor/sensor_base.h"
diff --git a/test/gtest_emplace.cpp b/test/gtest_emplace.cpp
index 457d41fe4..2c28c2bd4 100644
--- a/test/gtest_emplace.cpp
+++ b/test/gtest_emplace.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "core/sensor/sensor_base.h"
diff --git a/test/gtest_factor_autodiff_distance_3d.cpp b/test/gtest_factor_autodiff_distance_3d.cpp
index 57235013f..1a3f49238 100644
--- a/test/gtest_factor_autodiff_distance_3d.cpp
+++ b/test/gtest_factor_autodiff_distance_3d.cpp
@@ -7,7 +7,7 @@
 
 #include "core/factor/factor_autodiff_distance_3d.h"
 #include "core/problem/problem.h"
-#include "core/utils/logging.h"
+
 #include "core/ceres_wrapper/ceres_manager.h"
 #include "core/math/rotations.h"
 
diff --git a/test/gtest_factor_base.cpp b/test/gtest_factor_base.cpp
index 05c9f8c79..e1e035bf0 100644
--- a/test/gtest_factor_base.cpp
+++ b/test/gtest_factor_base.cpp
@@ -7,7 +7,7 @@
 
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/factor/factor_base.h"
 
diff --git a/test/gtest_factory_state_block.cpp b/test/gtest_factory_state_block.cpp
index fbded073c..ba6ab2cee 100644
--- a/test/gtest_factory_state_block.cpp
+++ b/test/gtest_factory_state_block.cpp
@@ -10,7 +10,7 @@
 #include "core/sensor/factory_sensor.h"
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 using namespace wolf;
 
diff --git a/test/gtest_frame_base.cpp b/test/gtest_frame_base.cpp
index 9d1368d3b..abdefc83d 100644
--- a/test/gtest_frame_base.cpp
+++ b/test/gtest_frame_base.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/frame/frame_base.h"
 #include "core/sensor/sensor_odom_2d.h"
diff --git a/test/gtest_local_param.cpp b/test/gtest_local_param.cpp
index 39684eaf1..8b6ed4fc1 100644
--- a/test/gtest_local_param.cpp
+++ b/test/gtest_local_param.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/state_block/local_parametrization_quaternion.h"
 #include "core/state_block/local_parametrization_homogeneous.h"
diff --git a/test/gtest_logging.cpp b/test/gtest_logging.cpp
index ec6df4414..58480003d 100644
--- a/test/gtest_logging.cpp
+++ b/test/gtest_logging.cpp
@@ -7,7 +7,7 @@
 
 #include "core/common/wolf.h"
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 TEST(logging, info)
 {
diff --git a/test/gtest_motion_buffer.cpp b/test/gtest_motion_buffer.cpp
index 3c74ede52..f47e9bd12 100644
--- a/test/gtest_motion_buffer.cpp
+++ b/test/gtest_motion_buffer.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/processor/motion_buffer.h"
 
diff --git a/test/gtest_param_prior.cpp b/test/gtest_param_prior.cpp
index 6faf7e424..a512601e2 100644
--- a/test/gtest_param_prior.cpp
+++ b/test/gtest_param_prior.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "core/ceres_wrapper/ceres_manager.h"
diff --git a/test/gtest_problem.cpp b/test/gtest_problem.cpp
index 8ec6ebcae..9767947b2 100644
--- a/test/gtest_problem.cpp
+++ b/test/gtest_problem.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-//#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "core/sensor/sensor_base.h"
diff --git a/test/gtest_processor_motion.cpp b/test/gtest_processor_motion.cpp
index 509c20d6e..bcf69745c 100644
--- a/test/gtest_processor_motion.cpp
+++ b/test/gtest_processor_motion.cpp
@@ -8,7 +8,7 @@
 #include "core/utils/utils_gtest.h"
 
 #include "core/common/wolf.h"
-#include "core/utils/logging.h"
+
 
 #include "core/sensor/sensor_odom_2d.h"
 #include "core/processor/processor_odom_2d.h"
diff --git a/test/gtest_processor_odom_3d.cpp b/test/gtest_processor_odom_3d.cpp
index 4a94d3e1b..dc24beddd 100644
--- a/test/gtest_processor_odom_3d.cpp
+++ b/test/gtest_processor_odom_3d.cpp
@@ -8,7 +8,7 @@
 #include "core/utils/utils_gtest.h"
 
 #include "core/common/wolf.h"
-#include "core/utils/logging.h"
+
 
 #include "core/processor/processor_odom_3d.h"
 
diff --git a/test/gtest_solver_manager.cpp b/test/gtest_solver_manager.cpp
index e8afad2af..7e212b997 100644
--- a/test/gtest_solver_manager.cpp
+++ b/test/gtest_solver_manager.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "core/sensor/sensor_base.h"
diff --git a/test/gtest_state_block.cpp b/test/gtest_state_block.cpp
index 19d9e3cf6..dbcc4b674 100644
--- a/test/gtest_state_block.cpp
+++ b/test/gtest_state_block.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/state_block/state_block.h"
 #include "core/state_block/state_quaternion.h"
diff --git a/test/gtest_trajectory.cpp b/test/gtest_trajectory.cpp
index 9be1e82fa..00f7d83ff 100644
--- a/test/gtest_trajectory.cpp
+++ b/test/gtest_trajectory.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "core/trajectory/trajectory_base.h"
diff --git a/test/gtest_tree_manager.cpp b/test/gtest_tree_manager.cpp
index 507d2104e..ce6f50742 100644
--- a/test/gtest_tree_manager.cpp
+++ b/test/gtest_tree_manager.cpp
@@ -1,5 +1,5 @@
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "dummy/tree_manager_dummy.h"
diff --git a/test/gtest_tree_manager_sliding_window.cpp b/test/gtest_tree_manager_sliding_window.cpp
index 8909987f0..54387d151 100644
--- a/test/gtest_tree_manager_sliding_window.cpp
+++ b/test/gtest_tree_manager_sliding_window.cpp
@@ -1,5 +1,5 @@
 #include "core/utils/utils_gtest.h"
-#include "core/utils/logging.h"
+
 
 #include "core/problem/problem.h"
 #include "core/tree_manager/tree_manager_sliding_window.h"
diff --git a/wolf_scripts/templates/gtest_template.cpp b/wolf_scripts/templates/gtest_template.cpp
index ccfec27db..2acdaa25f 100644
--- a/wolf_scripts/templates/gtest_template.cpp
+++ b/wolf_scripts/templates/gtest_template.cpp
@@ -1,7 +1,7 @@
 #include "core/utils/utils_gtest.h"
 
 #include "wolf.h"
-#include "logging.h"
+//#include "logging.h"
 
 #include "header_file"
 
-- 
GitLab