mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-12-22 10:00:44 -08:00
include the otel header-only part directly for ease of use
This commit is contained in:
parent
8895ad182f
commit
7f835b414a
241 changed files with 49967 additions and 3 deletions
|
|
@ -0,0 +1,21 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#pragma once
|
||||
|
||||
// IWYU pragma: private, include "opentelemetry/nostd/string_view.h"
|
||||
|
||||
#include <string_view>
|
||||
|
||||
#include "opentelemetry/version.h"
|
||||
|
||||
OPENTELEMETRY_BEGIN_NAMESPACE
|
||||
// Standard Type aliases in nostd namespace
|
||||
namespace nostd
|
||||
{
|
||||
|
||||
// nostd::string_view
|
||||
using string_view = std::string_view;
|
||||
|
||||
} // namespace nostd
|
||||
OPENTELEMETRY_END_NAMESPACE
|
||||
Loading…
Add table
Add a link
Reference in a new issue