HomePhabricator (Chris)

Fix for "front() called on empty vector" Errors on debug builds.

Description

Fix for "front() called on empty vector" Errors on debug builds.
Now using the C++11 vector.data() to fetch the proper pointer instead of $vector.front()

  • Which fails on empty vectors because of the standard compiler setting _ITERATOR_DEBUG_LEVEL=2 when debugging

Details

Provenance
kalvindukesAuthored on Sep 27 2018, 5:23 AM
Parents
R80:ba99a9a30875: Merge pull request #33 from devnexen/clang_build
Branches
Unknown
Tags
Unknown

Event Timeline