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
parent
088681f9ec
commit
55e4338468
|
@ -23,6 +23,8 @@
|
|||
#include "cartographer/mapping/map_builder.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
namespace cartographer_ros {
|
||||
namespace {
|
||||
|
||||
|
|
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue