We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a81688 commit 98543fcCopy full SHA for 98543fc
sdk/include/opentelemetry/sdk/metrics/view/attributes_processor.h
@@ -138,7 +138,7 @@ template <typename MapType>
138
inline auto find_hetero(MapType &&map, opentelemetry::nostd::string_view key)
139
{
140
#if defined(_LIBCPP_VERSION) || \
141
- (defined(OPENTELEMETRY_STL_VERSION) && OPENTELEMETRY_STL_VERSION < 2020)
+ (!defined(OPENTELEMETRY_STL_VERSION) || OPENTELEMETRY_STL_VERSION < 2020)
142
return map.find(std::string(key));
143
#else
144
// libstdc++ + C++20: heterogeneous lookup works
0 commit comments