[Lldb-commits] [lldb] r132967 - /lldb/trunk/include/lldb/Core/History.h

Peter Collingbourne peter at pcc.me.uk
Mon Jun 13 20:55:38 PDT 2011


Author: pcc
Date: Mon Jun 13 22:55:38 2011
New Revision: 132967

URL: http://llvm.org/viewvc/llvm-project?rev=132967&view=rev
Log:
Declare CompareHistoryEvents and IsCurrentHistoryEvent as pure virtual functions

Fixes the Linux build.

Modified:
    lldb/trunk/include/lldb/Core/History.h

Modified: lldb/trunk/include/lldb/Core/History.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/History.h?rev=132967&r1=132966&r2=132967&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/History.h (original)
+++ lldb/trunk/include/lldb/Core/History.h Mon Jun 13 22:55:38 2011
@@ -70,10 +70,10 @@
     // Return 0 when lhs == rhs, 1 if lhs > rhs, or -1 if lhs < rhs.
     virtual int
     CompareHistoryEvents (const HistoryEvent lhs, 
-                          const HistoryEvent rhs);
+                          const HistoryEvent rhs) = 0;
     
     virtual bool
-    IsCurrentHistoryEvent (const HistoryEvent event);
+    IsCurrentHistoryEvent (const HistoryEvent event) = 0;
 
 private:
     typedef std::stack<HistoryEvent> collection;





More information about the lldb-commits mailing list