Merge pull request #3251 from BillyONeal/master

Remove call to nonexistent member of std::fpos.
This commit is contained in:
Alexander Karatarakis 2018-04-12 15:34:08 -07:00 committed by GitHub
commit 7a1003f2ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ namespace vcpkg::CoffFileReader
{
void set_to_offset(const fpos_t position) { this->m_absolute_position = position; }
void set_to_current_pos(fstream& fs) { this->m_absolute_position = fs.tellg().seekpos(); }
void set_to_current_pos(fstream& fs) { this->m_absolute_position = fs.tellg(); }
void seek_to_marker(fstream& fs) const { fs.seekg(this->m_absolute_position, ios_base::beg); }