Fix fbx build

master
Jeremy Hu 2018-10-17 11:59:21 +08:00
parent 0608e2af1c
commit 660e3d6a58
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ void FBXDocument::read(string fname)
ifstream file;
// buffer
int bufferSize = 1 << 16;
constexpr int bufferSize = 1 << 16;
char buffer[bufferSize];
file.rdbuf()->pubsetbuf(buffer, bufferSize);
@ -38,7 +38,7 @@ void FBXDocument::write(string fname)
ofstream file;
// buffer
int bufferSize = 1 << 16;
constexpr int bufferSize = 1 << 16;
char buffer[bufferSize];
file.rdbuf()->pubsetbuf(buffer, bufferSize);