mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-18 01:46:08 +08:00
Removed ETL_NO_CHECKS #define
This commit is contained in:
parent
99dd26be64
commit
fe19f3b25a
11
src/bitset.h
11
src/bitset.h
@ -50,11 +50,10 @@ SOFTWARE.
|
||||
#undef min
|
||||
#endif
|
||||
|
||||
#define ETL_NO_CHECKS
|
||||
#include "error_handler.h"
|
||||
|
||||
#if defined(ETL_COMPILER_KEIL)
|
||||
#pragma diag_suppress 1300
|
||||
#pragma diag_suppress 1300
|
||||
#endif
|
||||
|
||||
//*****************************************************************************
|
||||
@ -739,7 +738,7 @@ namespace etl
|
||||
static const size_t ALLOCATED_BITS = ARRAY_SIZE * BITS_PER_ELEMENT;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
//*************************************************************************
|
||||
/// Default constructor.
|
||||
//*************************************************************************
|
||||
@ -789,7 +788,7 @@ namespace etl
|
||||
/// Set the bit at the position.
|
||||
//*************************************************************************
|
||||
bitset<MAXN>& set(size_t position, bool value = true)
|
||||
{
|
||||
{
|
||||
etl::ibitset::set(position, value);
|
||||
return *this;
|
||||
}
|
||||
@ -889,7 +888,7 @@ namespace etl
|
||||
etl::bitset<MAXN> temp(*this);
|
||||
|
||||
temp.invert();
|
||||
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
||||
@ -944,7 +943,7 @@ namespace etl
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
|
||||
element_t data[ARRAY_SIZE];
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user