Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
a0eda17f
Commit
a0eda17f
authored
Dec 16, 2015
by
Naumann, Andreas
Browse files
kommentare weg
parent
4e3f0a36
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/Initfile.cc
View file @
a0eda17f
...
...
@@ -85,11 +85,9 @@ namespace AMDiS {
/// Fill an initfile from an input stream
void
Initfile
::
read
(
istream
&
in
)
{
const
unsigned
line_length
=
512
;
//char swap[line_length];
//const unsigned line_length = 512;
std
::
string
swap
;
std
::
getline
(
in
,
swap
);
//in.getline(swap, line_length);
while
(
in
.
good
()
||
in
.
gcount
()
>
0
)
{
std
::
string
whitespaces
=
"
\t\r\f\n
"
;
std
::
string
delimiter
=
"
\r\n
"
;
...
...
@@ -149,7 +147,6 @@ namespace AMDiS {
read
(
fn
,
forceRead
);
}
//in.getline(swap, line_length);
getline
(
in
,
swap
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment