mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 03:50:34 +08:00
std::bitset<> replaced with BitSet<>; stdexcept is not included unless exceptions are enabled
This commit is contained in:
@@ -5,12 +5,15 @@
|
||||
#include <uavcan/error.hpp>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <stdexcept>
|
||||
|
||||
#ifndef UAVCAN_EXCEPTIONS
|
||||
# error UAVCAN_EXCEPTIONS
|
||||
#endif
|
||||
|
||||
#if UAVCAN_EXCEPTIONS
|
||||
# include <stdexcept>
|
||||
#endif
|
||||
|
||||
namespace uavcan
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user