From 8f52b04c9c40995a13153fdd424533febd3db183 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 21 Jul 2018 13:57:14 +0200 Subject: [PATCH] Safer place for definition of namespaces --- src/algorithms/PVT/adapters/rtklib_pvt.cc | 4 ++-- .../PVT/gnuradio_blocks/rtklib_pvt_cc.cc | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/algorithms/PVT/adapters/rtklib_pvt.cc b/src/algorithms/PVT/adapters/rtklib_pvt.cc index 339d2d15e..2d498d360 100644 --- a/src/algorithms/PVT/adapters/rtklib_pvt.cc +++ b/src/algorithms/PVT/adapters/rtklib_pvt.cc @@ -34,6 +34,8 @@ #include "gnss_sdr_flags.h" #include #include +#include +#include #if OLD_BOOST #include namespace bc = boost::math; @@ -41,8 +43,6 @@ namespace bc = boost::math; #include namespace bc = boost::integer; #endif -#include -#include using google::LogMessage; diff --git a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc index 846d2f8f7..238ab0d2f 100644 --- a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc +++ b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc @@ -29,10 +29,19 @@ */ #include "rtklib_pvt_cc.h" +#include "display.h" #include #include #include #include +#include +#include +#include +#include +#include +#include +#include +#include #if OLD_BOOST #include namespace bc = boost::math; @@ -40,15 +49,6 @@ namespace bc = boost::math; #include namespace bc = boost::integer; #endif -#include -#include -#include -#include -#include "display.h" -#include -#include -#include -#include using google::LogMessage;