ArbitrationRound::ArbitrationRound(Commit *_commit, Hashset<Abort *> *_abortsBefore) :
abortsBefore(_abortsBefore),
- parts(new Vector<Entry *>()),
+ parts(new MyVector<Entry *>()),
commit(_commit),
currentSize(0),
didSendPart(false),
parts->add((Entry *)abit->next());
delete abit;
if (commit != NULL) {
- Vector<CommitPart *> *cParts = commit->getParts();
+ MyVector<CommitPart *> *cParts = commit->getParts();
uint cPartsSize = cParts->size();
for (uint i = 0; i < cPartsSize; i++) {
CommitPart * part = cParts->get(i);
}
}
-Vector<Entry *> *ArbitrationRound::getParts() {
+MyVector<Entry *> *ArbitrationRound::getParts() {
return parts;
}
-void ArbitrationRound::removeParts(Vector<Entry *> *removeParts) {
+void ArbitrationRound::removeParts(MyVector<Entry *> *removeParts) {
uint size = removeParts->size();
for(uint i=0; i < size; i++) {
Entry * e = removeParts->get(i);