Fixed duplicate etl::declval definition.

This commit is contained in:
John Wellbelove 2022-06-10 18:53:48 +01:00
parent dd89f1c748
commit 9c4d8d6f1d
2 changed files with 1 additions and 9 deletions

View File

@ -89,7 +89,7 @@ namespace etl
{
public:
variant_incorrect_type_exception(string_type file_name_, numeric_type line_number_)
: variant_exception(ETL_ERROR_TEXT("variant: unsupported type", ETL_VARIANT_FILE_ID"A"), file_name_, line_number_)
: variant_exception(ETL_ERROR_TEXT("variant:unsupported type", ETL_VARIANT_FILE_ID"A"), file_name_, line_number_)
{
}
};

View File

@ -437,14 +437,6 @@ namespace etl
inline constexpr in_place_index_t<I> in_place_index{};
#endif
//***************************************************************************
/// declval
//***************************************************************************
#if ETL_USING_CPP11
template <typename T>
typename etl::add_rvalue_reference<T>::type declval() ETL_NOEXCEPT;
#endif
#if ETL_USING_CPP11
//*************************************************************************
/// A function wrapper for free/global functions.