From 293e69e37ed29b62bb1b5d75895760dbe01d669c Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Fri, 10 Mar 2023 17:45:39 +0000 Subject: [PATCH] #675 Compilation error in optional.h line 405 --- include/etl/optional.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/etl/optional.h b/include/etl/optional.h index 5843188f..ee563969 100644 --- a/include/etl/optional.h +++ b/include/etl/optional.h @@ -399,9 +399,9 @@ namespace etl //************************************************************************* /// Emplaces a value. ///\param args The arguments to construct with. - //************************************************************************* - ETL_CONSTEXPR20_STL + //************************************************************************* template + ETL_CONSTEXPR20_STL void emplace(TArgs&& ... args) { storage.construct(etl::forward(args)...);