diff --git a/thirdparty/fbx/src/fbxdocument.cpp b/thirdparty/fbx/src/fbxdocument.cpp index 5cc4895c..bb049979 100755 --- a/thirdparty/fbx/src/fbxdocument.cpp +++ b/thirdparty/fbx/src/fbxdocument.cpp @@ -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);