BUG: TableBase: binary writing

This commit is contained in:
mattijs
2014-01-08 21:11:23 +00:00
parent fe0f17a8e4
commit 981ebc1c0a

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,7 +43,7 @@ Foam::Ostream& Foam::operator<<
os.write os.write
( (
reinterpret_cast<const char*>(&tbl.table_), reinterpret_cast<const char*>(&tbl.table_),
sizeof(tbl.table_) tbl.table_.byteSize()
); );
} }