Skip to content
Snippets Groups Projects
Commit d9a1d9c5 authored by mattijs's avatar mattijs
Browse files

ENH: codeStream: derive input binary/ascii format. (though use of #codeStream in binary field?)

parent e5f8d855
Branches
Tags
No related merge requests found
...@@ -237,7 +237,7 @@ bool Foam::functionEntries::codeStream::execute ...@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment