#include "SlotIndexer.h"
-
+#include "Slot.h"
+#include "Error.h"
+#include "SlotBuffer.h"
/**
* Slot indexer allows slots in both the slot buffer and the new
* server response to looked up in a consistent fashion.
*/
SlotIndexer::SlotIndexer(Array<Slot *> *_updates, SlotBuffer *_buffer) :
- buffer(_buffer),
updates(_updates),
+ buffer(_buffer),
firstslotseqnum(updates->get(0)->getSequenceNumber()) {
}