Skip to content

Commit 7a05e7f

Browse files
macos copy fix
1 parent 844f1a2 commit 7a05e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/include/opentelemetry/sdk/metrics/view/attributes_processor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct StringViewEqual
7373
template <typename Map, typename Key>
7474
auto find_hetero(Map &map, Key &&key)
7575
{
76-
#if defined(_LIBCPP_VERSION) && !defined(_LIBCPP_HAS_UNORDERED_MAP_TRANSPARENT_LOOKUP)
76+
#if defined(_LIBCPP_VERSION)
7777
// libc++ (macOS) does not yet support heterogeneous lookup in unordered_map
7878
return map.find(std::string(key));
7979
#else

0 commit comments

Comments
 (0)