Fix incorrent namespace
Summary: It seems that streamoff is not in std::iostream namespace, but in std:: namespace. This caused problems with newer versions of libraries. Reviewers: teon.banek Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1404
This commit is contained in:
parent
7d161319f0
commit
2c49487eae
@ -55,11 +55,11 @@ class HashedFileReader {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Seek(std::iostream::streamoff offset, std::ios_base::seekdir way) {
|
||||
void Seek(std::streamoff offset, std::ios_base::seekdir way) {
|
||||
input_stream_.seekg(offset, way);
|
||||
}
|
||||
|
||||
void Seek(std::iostream::streampos pos) { input_stream_.seekg(pos); }
|
||||
void Seek(std::streampos pos) { input_stream_.seekg(pos); }
|
||||
|
||||
auto Tellg() { return input_stream_.tellg(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user