stdint.hpp - typedef instead of using declaration - typedefs are safer

This commit is contained in:
Pavel Kirienko
2014-03-23 14:41:17 +04:00
parent ac6a1fb9a8
commit ec94ebb1f4
+8 -8
View File
@@ -17,15 +17,15 @@
namespace uavcan
{
using std::uint8_t;
using std::uint16_t;
using std::uint32_t;
using std::uint64_t;
typedef std::uint8_t uint8_t;
typedef std::uint16_t uint16_t;
typedef std::uint32_t uint32_t;
typedef std::uint64_t uint64_t;
using std::int8_t;
using std::int16_t;
using std::int32_t;
using std::int64_t;
typedef std::int8_t int8_t;
typedef std::int16_t int16_t;
typedef std::int32_t int32_t;
typedef std::int64_t int64_t;
}