[Lldb-commits] [lldb] b529c52 - Add override to fix -Winconsistent-missing-override warning.

Eric Christopher via lldb-commits lldb-commits at lists.llvm.org
Sun Aug 9 22:22:19 PDT 2020


Author: Eric Christopher
Date: 2020-08-09T22:12:10-07:00
New Revision: b529c5270c99e0ca18e3cbd9a5f50eb0970e560a

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

LOG: Add override to fix -Winconsistent-missing-override warning.

Added: 
    

Modified: 
    lldb/include/lldb/Target/ThreadPlanPython.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Target/ThreadPlanPython.h b/lldb/include/lldb/Target/ThreadPlanPython.h
index c04500ad5de8..7b37b2b9ce5a 100644
--- a/lldb/include/lldb/Target/ThreadPlanPython.h
+++ b/lldb/include/lldb/Target/ThreadPlanPython.h
@@ -47,7 +47,7 @@ class ThreadPlanPython : public ThreadPlan {
 
   bool StopOthers() override { return m_stop_others; }
 
-  void SetStopOthers(bool new_value) { m_stop_others = new_value; }
+  void SetStopOthers(bool new_value) override { m_stop_others = new_value; }
 
   void DidPush() override;
 


        


More information about the lldb-commits mailing list