mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 06:21:36 +08:00
Removed enable_tail_array_optimization and init()
This commit is contained in:
@@ -9,6 +9,15 @@
|
||||
namespace uavcan
|
||||
{
|
||||
|
||||
/**
|
||||
* UAVCAN can be explicitly told to ignore exceptions, or it can be detected automatically.
|
||||
*/
|
||||
#ifndef UAVCAN_EXCEPTIONS
|
||||
# if defined(__EXCEPTIONS) || defined(_HAS_EXCEPTIONS)
|
||||
# define UAVCAN_EXCEPTIONS 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Should be OK for any target arch up to AMD64 and any compiler.
|
||||
* The library leverages compile-time checks to ensure that all types that are subject to dynamic allocation
|
||||
|
||||
Reference in New Issue
Block a user