UAVCAN_PACKED_* removed completely, as with the latest optimizations it is not needed anymore

This commit is contained in:
Pavel Kirienko
2015-06-20 22:42:54 +03:00
parent 815337ab1f
commit 5cfbb193e6
3 changed files with 0 additions and 15 deletions
-11
View File
@@ -82,17 +82,6 @@
# endif # endif
#endif #endif
/**
* Struct layout control.
* THIS MAY BREAK THE CODE.
*/
#ifndef UAVCAN_PACKED_BEGIN
# define UAVCAN_PACKED_BEGIN
#endif
#ifndef UAVCAN_PACKED_END
# define UAVCAN_PACKED_END
#endif
/** /**
* Declaration visibility * Declaration visibility
* http://gcc.gnu.org/wiki/Visibility * http://gcc.gnu.org/wiki/Visibility
@@ -16,7 +16,6 @@
namespace uavcan namespace uavcan
{ {
UAVCAN_PACKED_BEGIN
class UAVCAN_EXPORT OutgoingTransferRegistryKey class UAVCAN_EXPORT OutgoingTransferRegistryKey
{ {
DataTypeID data_type_id_; DataTypeID data_type_id_;
@@ -56,7 +55,6 @@ public:
std::string toString() const; std::string toString() const;
#endif #endif
}; };
UAVCAN_PACKED_END
/** /**
* Outgoing transfer registry keeps track of Transfer ID values for all currently existing local transfer senders. * Outgoing transfer registry keeps track of Transfer ID values for all currently existing local transfer senders.
@@ -13,7 +13,6 @@
namespace uavcan namespace uavcan
{ {
UAVCAN_PACKED_BEGIN
class UAVCAN_EXPORT TransferReceiver class UAVCAN_EXPORT TransferReceiver
{ {
public: public:
@@ -95,7 +94,6 @@ public:
MonotonicDuration getInterval() const { return MonotonicDuration::fromMSec(transfer_interval_msec_); } MonotonicDuration getInterval() const { return MonotonicDuration::fromMSec(transfer_interval_msec_); }
}; };
UAVCAN_PACKED_END
} }