Fix fbx build
parent
0608e2af1c
commit
660e3d6a58
|
@ -20,7 +20,7 @@ void FBXDocument::read(string fname)
|
||||||
ifstream file;
|
ifstream file;
|
||||||
|
|
||||||
// buffer
|
// buffer
|
||||||
int bufferSize = 1 << 16;
|
constexpr int bufferSize = 1 << 16;
|
||||||
char buffer[bufferSize];
|
char buffer[bufferSize];
|
||||||
file.rdbuf()->pubsetbuf(buffer, bufferSize);
|
file.rdbuf()->pubsetbuf(buffer, bufferSize);
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ void FBXDocument::write(string fname)
|
||||||
ofstream file;
|
ofstream file;
|
||||||
|
|
||||||
// buffer
|
// buffer
|
||||||
int bufferSize = 1 << 16;
|
constexpr int bufferSize = 1 << 16;
|
||||||
char buffer[bufferSize];
|
char buffer[bufferSize];
|
||||||
file.rdbuf()->pubsetbuf(buffer, bufferSize);
|
file.rdbuf()->pubsetbuf(buffer, bufferSize);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue