mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-13 04:49:04 +08:00
Revert unnecessary compatibility change in StdioFileReader.
This commit is contained in:
parent
b7fb7e5fba
commit
27a329e939
@ -11,7 +11,6 @@
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#include "draco/draco_features.h"
|
||||
#include "draco/io/file_reader_factory.h"
|
||||
|
||||
namespace draco {
|
||||
@ -47,11 +46,7 @@ std::unique_ptr<FileReaderInterface> StdioFileReader::Open(
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
#ifndef DRACO_OLD_GCC
|
||||
return file;
|
||||
#else
|
||||
return std::move(file);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool StdioFileReader::ReadFileToBuffer(std::vector<char> *buffer) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user