Skip to content

Commit

Permalink
Merge branch 'main' into http-propagate
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed May 8, 2021
2 parents 6ea9092 + 01b7a84 commit ddf413b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
4 changes: 3 additions & 1 deletion api/docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,10 @@ RECURSIVE = YES

EXCLUDE = ../include/opentelemetry/common/spin_lock_mutex.h \
../include/opentelemetry/common/key_value_iterable_view.h \
../include/opentelemetry/common/kv_properties.h \
../include/opentelemetry/common/string_util.h \
../include/opentelemetry/trace/span_context_kv_iterable_view.h \
../include/opentelemetry/nostd/detail
../include/opentelemetry/nostd

# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded
Expand Down
18 changes: 0 additions & 18 deletions api/include/opentelemetry/common/key_value_iterable.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,5 @@ class KeyValueIterable
*/
virtual size_t size() const noexcept = 0;
};

//
// NULL object pattern empty iterable.
//
class NullKeyValueIterable : public KeyValueIterable
{
public:
NullKeyValueIterable(){};

virtual bool ForEachKeyValue(
nostd::function_ref<bool(nostd::string_view, common::AttributeValue)>) const noexcept
{
return true;
};

virtual size_t size() const noexcept { return 0; }
};

} // namespace common
OPENTELEMETRY_END_NAMESPACE
4 changes: 2 additions & 2 deletions tools/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if ("%CMAKE_ARCH%"=="") (
)

REM Use preinstalled vcpkg if installed or use our local
if "%VCPKG_INSTALLATION_ROOT%" neq "" (
set "VCPKG_CMAKE=%VCPKG_INSTALLATION_ROOT%\scripts\buildsystems\vcpkg.cmake"
if "%VCPKG_ROOT%" neq "" (
set "VCPKG_CMAKE=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake"
) else (
set "VCPKG_CMAKE=%CD%\vcpkg\scripts\buildsystems\vcpkg.cmake"
)
Expand Down
1 change: 1 addition & 0 deletions tools/setup-buildtools.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@echo off
set "PATH=%ProgramFiles%\CMake\bin;%~dp0;%~dp0vcpkg;%PATH%"
if "%VCPKG_ROOT%" NEQ "" set "PATH=%VCPKG_ROOT%;%PATH%"
pushd %~dp0

net session >nul 2>&1
Expand Down

0 comments on commit ddf413b

Please sign in to comment.