mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: codeStream: derive input binary/ascii format. (though use of #codeStream in binary field?)
This commit is contained in:
@ -237,7 +237,7 @@ bool Foam::functionEntries::codeStream::execute
|
|||||||
<< " in library " << lib << exit(FatalIOError);
|
<< " in library " << lib << exit(FatalIOError);
|
||||||
}
|
}
|
||||||
|
|
||||||
OStringStream os;
|
OStringStream os(is.format());
|
||||||
(*function)(parentDict, os);
|
(*function)(parentDict, os);
|
||||||
IStringStream resultStream(os.str());
|
IStringStream resultStream(os.str());
|
||||||
entry.read(parentDict, resultStream);
|
entry.read(parentDict, resultStream);
|
||||||
|
|||||||
Reference in New Issue
Block a user