Fix 'std::string_view' has not been declared (issue #1967)

Ported from 49e2a8d421
This commit is contained in:
Benoit Blanchon committed 2023-09-13 18:32:38 +02:00
1 parent b20653ee1a
commit 92c9faf69f
2 files changed
+15 -3

No files matched your search

@@ -13,6 +13,10 @@
# include <string>
#endif
#if ARDUINOJSON_ENABLE_STRING_VIEW
# include <string_view>
#endif
ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE
template <typename T, typename Enable>