diff --git a/include/etl/vector.h b/include/etl/vector.h index 3285577f..16ecaab0 100644 --- a/include/etl/vector.h +++ b/include/etl/vector.h @@ -689,8 +689,8 @@ namespace etl } else { - // args may refer to elements that are about to be shifted, so construct the value first. #include "private/diagnostic_sign_conversion_push.h" + // args may refer to elements that are about to be shifted, so construct the value first. T value(etl::forward(args)...); #include "private/diagnostic_pop.h"