Skip to content

Commit 04a19f9

Browse files
committed
Revert "Fix possible invalid memory accesses"
This reverts commit 8f6345d.
1 parent 8f6345d commit 04a19f9

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

include/internal/csv_row.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ namespace csv {
197197
this->daddy->operator[](_i));
198198
else
199199
this->field = nullptr;
200-
201-
this->data = this->daddy->data;
202200
}
203201

204202
CSV_INLINE CSVRow::iterator::reference CSVRow::iterator::operator*() const {

include/internal/csv_row.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ namespace csv {
374374

375375
private:
376376
const CSVRow * daddy = nullptr; // Pointer to parent
377-
internals::RawCSVDataPtr data = nullptr;
378377
std::shared_ptr<CSVField> field = nullptr; // Current field pointed at
379378
int i = 0; // Index of current field
380379
};

0 commit comments

Comments
 (0)