diff --git a/src/intrusive_queue.h b/src/intrusive_queue.h index 6889d784..69a530d9 100644 --- a/src/intrusive_queue.h +++ b/src/intrusive_queue.h @@ -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 diff --git a/src/intrusive_stack.h b/src/intrusive_stack.h index 0fc0cb61..787f2dba 100644 --- a/src/intrusive_stack.h +++ b/src/intrusive_stack.h @@ -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