Skip to content
Snippets Groups Projects
Commit 5a4d3ccd authored by Henry's avatar Henry
Browse files

OStringStream: Updated header

parent c3a728b2
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -119,11 +119,11 @@ public:
//- Rewind the OStringStream
void rewind()
{
# if __GNUC__ < 4 && __GNUC_MINOR__ < 4
#if __GNUC__ < 4 && __GNUC_MINOR__ < 4
stdStream().rdbuf()->pubsetbuf(" ", 1);
# else
#else
stdStream().rdbuf()->pubseekpos(0);
# endif
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment