[Lldb-commits] [lldb] a6c62bf - [lldb] try to fix build on linux after fc6b72523f3d7

Nico Weber via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 27 15:53:14 PST 2023


Author: Nico Weber
Date: 2023-11-28T08:53:05+09:00
New Revision: a6c62bf1a4717accc852463b664cd1012237d334

URL: https://github.com/llvm/llvm-project/commit/a6c62bf1a4717accc852463b664cd1012237d334
DIFF: https://github.com/llvm/llvm-project/commit/a6c62bf1a4717accc852463b664cd1012237d334.diff

LOG: [lldb] try to fix build on linux after fc6b72523f3d7

Tries to fix:

    ../../lldb/source/Breakpoint/WatchpointResource.cpp:59:12:
    error: no member named 'find' in namespace 'std'; did you mean 'fill'?
          std::find(m_constituents.begin(), m_constituents.end(), wp_sp);
          ~~~~~^~~~
               fill

Added: 
    

Modified: 
    lldb/source/Breakpoint/WatchpointResource.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Breakpoint/WatchpointResource.cpp b/lldb/source/Breakpoint/WatchpointResource.cpp
index 4b8fbe42c865e25..d0f8dc346f3c024 100644
--- a/lldb/source/Breakpoint/WatchpointResource.cpp
+++ b/lldb/source/Breakpoint/WatchpointResource.cpp
@@ -10,6 +10,8 @@
 
 #include "lldb/Breakpoint/WatchpointResource.h"
 
+#include <algorithm>
+
 using namespace lldb;
 using namespace lldb_private;
 


        


More information about the lldb-commits mailing list