From 76bb902034bb85bf15d1f00a44bb5edc086f63cf Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 28 May 2023 10:03:46 +0100 Subject: [PATCH] Added missing header include. --- include/etl/array_wrapper.h | 1 - include/etl/reference_counted_object.h | 1 + test/vs2022/cpp.hint | 15 +++------------ 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/include/etl/array_wrapper.h b/include/etl/array_wrapper.h index 45d45f1b..72655f98 100644 --- a/include/etl/array_wrapper.h +++ b/include/etl/array_wrapper.h @@ -37,7 +37,6 @@ SOFTWARE. #include "exception.h" #include "hash.h" #include "parameter_type.h" - #include "algorithm.h" ///\defgroup array array diff --git a/include/etl/reference_counted_object.h b/include/etl/reference_counted_object.h index f506b4e5..28b3cb5a 100644 --- a/include/etl/reference_counted_object.h +++ b/include/etl/reference_counted_object.h @@ -31,6 +31,7 @@ #include "platform.h" #include "atomic.h" +#include "exception.h" #include "error_handler.h" #include diff --git a/test/vs2022/cpp.hint b/test/vs2022/cpp.hint index 31a4b7d1..1412ab0f 100644 --- a/test/vs2022/cpp.hint +++ b/test/vs2022/cpp.hint @@ -1,6 +1,7 @@ // Hint files help the Visual Studio IDE interpret Visual C++ identifiers // such as names of functions and macros. // For more information see https://go.microsoft.com/fwlink/?linkid=865984 +#define ETL_CONSTANT #define ETL_CONSTEXPR #define ETL_CONSTEXPR14 #define ETL_CONSTEXPR17 @@ -21,16 +22,6 @@ #define ETL_CPP11_SUPPORTED #define ETL_CPP14_SUPPORTED #define ETL_CPP17_SUPPORTED -#define TEST -#define CHECK -#define CHECK_EQUAL -#define CHECK_THROW -#define ETL_ASSERT(b, e) -#define ETL_ASSERT(b, e) {if (!(b)) {etl::error_handler::error((e)); throw((e));}} -#define ETL_ASSERT(b, e) {if (!(b)) {throw((e));}} -#define ETL_ASSERT(b, e) {if(!(b)) {etl::error_handler::error((e));}} -#define ETL_ASSERT(b, e) assert((b)) +#define ETL_ASSERT #define ETL_NULLPTR -#define ETL_NODISCARD [[nodiscard]] -#define ETL_NODISCARD -#define ETL_CONSTANT +#define ETL_USING_STLPORT