Fix dynamic_extent issue when compiling with vs2017 (C++14 or C++17) (#846)
This commit is contained in:
parent
1f5b886bc6
commit
865b9e7961
|
@ -39,9 +39,10 @@
|
|||
OPENTELEMETRY_BEGIN_NAMESPACE
|
||||
namespace nostd
|
||||
{
|
||||
using gsl::dynamic_extent;
|
||||
template <class ElementType, std::size_t Extent = gsl::dynamic_extent>
|
||||
using span = gsl::span<ElementType, Extent>;
|
||||
}
|
||||
} // namespace nostd
|
||||
OPENTELEMETRY_END_NAMESPACE
|
||||
# define HAVE_SPAN
|
||||
# else
|
||||
|
|
Loading…
Reference in New Issue