Fixed std::string_view include warning for < C++17

This commit is contained in:
John Wellbelove 2025-06-11 11:13:27 +01:00
parent 130859c3b7
commit 8659091ff3
2 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,6 @@ SOFTWARE.
#include "type_traits.h"
#include "integral_limits.h"
#include "string_view.h"
#include "hash.h"
#include <stdint.h>

View File

@ -34,10 +34,13 @@ SOFTWARE.
#include "etl/vector.h"
#include <string>
#include <string_view>
#include <vector>
#include <list>
#if ETL_USING_CPP17
#include <string_view>
#endif
#undef STR
#define STR(x) x