#675 Compilation error in optional.h line 405

This commit is contained in:
John Wellbelove 2023-03-10 17:45:39 +00:00
parent 4ebd1da37d
commit 293e69e37e

View File

@ -399,9 +399,9 @@ namespace etl
//*************************************************************************
/// Emplaces a value.
///\param args The arguments to construct with.
//*************************************************************************
ETL_CONSTEXPR20_STL
//*************************************************************************
template <typename ... TArgs>
ETL_CONSTEXPR20_STL
void emplace(TArgs&& ... args)
{
storage.construct(etl::forward<TArgs>(args)...);