mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
reference to temporary
This commit is contained in:
@ -48,7 +48,8 @@ int Foam::fileFormats::STLsurfaceFormatCore::detectBINARY
|
||||
{
|
||||
off_t dataFileSize = Foam::fileSize(filename);
|
||||
|
||||
istream& is = IFstream(filename, IOstream::BINARY)().stdStream();
|
||||
IFstream str(filename, IOstream::BINARY);
|
||||
istream& is = str().stdStream();
|
||||
|
||||
// Read the STL header
|
||||
char header[headerSize];
|
||||
|
||||
Reference in New Issue
Block a user