Declare CompareHistoryEvents and IsCurrentHistoryEvent as pure virtual functions

Fixes the Linux build.

llvm-svn: 132967
This commit is contained in:
Peter Collingbourne 2011-06-14 03:55:38 +00:00
parent 933f6f617d
commit eb994b27ff
1 changed files with 2 additions and 2 deletions

View File

@ -70,10 +70,10 @@ public:
// 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;