Fix invalid memory access issues in g++ builds caused when accessing CSVField methods while using the CSVRow reverse iterator.
This was caused by a workaround to previous versions of g++ not supporting the use of std::shared_ptr as a pointer type in iterators, thus requiring the fallback use of raw pointers (which would cause the std::shared_ptr<CSVField> to go out of scope and get deleted.
Now that newer versions of g++ don't have this problem, we can remove the dubious workaround.
Fix invalid memory access issues in g++ builds caused when accessing
CSVField
methods while using theCSVRow
reverse iterator.This was caused by a workaround to previous versions of g++ not supporting the use of
std::shared_ptr
as a pointer type in iterators, thus requiring the fallback use of raw pointers (which would cause thestd::shared_ptr<CSVField>
to go out of scope and get deleted.Now that newer versions of g++ don't have this problem, we can remove the dubious workaround.