std::bitset<> replaced with BitSet<>; stdexcept is not included unless exceptions are enabled

This commit is contained in:
Pavel Kirienko
2014-05-04 20:49:58 +04:00
parent 9b465a0959
commit d0c2898def
5 changed files with 203 additions and 11 deletions
+4 -1
View File
@@ -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
{