Start cleaning up Google specific types by making them cartographer private.

move string and size specific int/uint types into cartographer namespace as minimal change necessary to keep global namespace clean (#637)
master
catskul 2017-11-08 03:07:46 -05:00 committed by Holger Rapp
parent 088681f9ec
commit 55e4338468
2 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,8 @@
#include "cartographer/mapping/map_builder.h"
#include "gtest/gtest.h"
using std::string;
namespace cartographer_ros {
namespace {

View File

@ -25,6 +25,9 @@
#include <boost/iostreams/filter/gzip.hpp>
#include <boost/iostreams/filtering_stream.hpp>
namespace cartographer {
using int8 = int8_t;
using int16 = int16_t;
using int32 = int32_t;
@ -36,7 +39,6 @@ using uint64 = uint64_t;
using std::string;
namespace cartographer {
namespace common {
inline int RoundToInt(const float x) { return std::lround(x); }