diff options
Diffstat (limited to 'lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp')
-rw-r--r-- | lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp index f54eb113207..91b4ae61b54 100644 --- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp +++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp @@ -746,8 +746,8 @@ private: int MatchAttributeIndex(llvm::StringRef attribute_name) const { for (const auto &Item : llvm::enumerate(s_filter_attributes)) { - if (attribute_name == Item.Value) - return Item.Index; + if (attribute_name == Item.value()) + return Item.index(); } // We didn't match anything. |