Added ETL_FILE defines.

This commit is contained in:
jwellbelove 2016-12-14 12:53:51 +00:00
parent 9f9791b9c1
commit 2cb60e43a4
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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