mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-28 05:18:43 +08:00
Added ETL_FILE defines.
This commit is contained in:
parent
9f9791b9c1
commit
2cb60e43a4
@ -40,6 +40,8 @@ SOFTWARE.
|
||||
#include "intrusive_links.h"
|
||||
#include "private/counter_type.h"
|
||||
|
||||
#define ETL_FILE "29"
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
@ -253,4 +255,6 @@ namespace etl
|
||||
};
|
||||
}
|
||||
|
||||
#undef ETL_FILE
|
||||
|
||||
#endif
|
||||
|
||||
@ -38,6 +38,8 @@ SOFTWARE.
|
||||
#include "intrusive_links.h"
|
||||
#include "private/counter_type.h"
|
||||
|
||||
#define ETL_FILE "28"
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
@ -95,7 +97,7 @@ namespace etl
|
||||
{
|
||||
// The count option is based on the type of link.
|
||||
COUNT_OPTION = ((TLink::OPTION == etl::link_option::AUTO) || (TLink::OPTION == etl::link_option::CHECKED)) ?
|
||||
etl::count_option::SLOW_COUNT :
|
||||
etl::count_option::SLOW_COUNT :
|
||||
etl::count_option::FAST_COUNT
|
||||
};
|
||||
|
||||
@ -136,7 +138,7 @@ namespace etl
|
||||
{
|
||||
etl::link(value, p_top);
|
||||
}
|
||||
|
||||
|
||||
p_top = &value;
|
||||
|
||||
++current_size;
|
||||
@ -217,4 +219,6 @@ namespace etl
|
||||
};
|
||||
}
|
||||
|
||||
#undef ETL_FILE
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user