Ensure that LoadSequentialFile() actually read the whole file (#5831)

This commit is contained in:
Philip Hyunsu Cho
2020-07-04 01:17:11 -07:00
committed by GitHub
parent 1a0801238e
commit efe3e48ae2
4 changed files with 17 additions and 35 deletions

View File

@@ -75,7 +75,6 @@ class FixedSizeStream : public PeekableInStream {
std::string buffer_;
};
// Optimized for consecutive file loading in unix like systime.
std::string LoadSequentialFile(std::string fname);
inline std::string FileExtension(std::string const& fname) {