diff --git a/applications/test/IOField/Test-IOField.C b/applications/test/IOField/Test-IOField.C index d49acaf8f..967dc0ae7 100644 --- a/applications/test/IOField/Test-IOField.C +++ b/applications/test/IOField/Test-IOField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -76,7 +76,10 @@ void writeAndRead Pout<< "** Writing:" << writeType << " Reading:" << readType << endl; - autoPtr writeHandler(fileOperation::New(writeType)); + autoPtr writeHandler + ( + fileOperation::New(writeType, writeInfoHeader) + ); fileHandler(writeHandler); // Delete @@ -84,10 +87,13 @@ void writeAndRead fileHandler().rm(fileHandler().filePath(io.objectPath())); // Write - Pout<< "Writing:" << fileHandler().objectPath(io) << endl; + Pout<< "Writing:" << fileHandler().objectPath(io, word::null) << endl; write(io, sz); - autoPtr readHandler(fileOperation::New(readType)); + autoPtr readHandler + ( + fileOperation::New(readType, writeInfoHeader) + ); fileHandler(readHandler); // Read @@ -108,7 +114,10 @@ void readIfPresent const word& readType ) { - autoPtr readHandler(fileOperation::New(readType)); + autoPtr readHandler + ( + fileOperation::New(readType, writeInfoHeader) + ); fileHandler(readHandler); // Read diff --git a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C index 2ee7fa1df..7a4c993d3 100644 --- a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C +++ b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -31,8 +31,7 @@ Description #include "argList.H" #include "Time.H" -#include "wordRe.H" -#include "OSspecific.H" +#include "IOdictionary.H" using namespace Foam;