Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
b0b373f0
Commit
b0b373f0
authored
Oct 09, 2018
by
Purves, Murray
Browse files
Adding fclose statement to SPE write
parent
ee9b8c4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
radixio/spectrumspestream.i.hh
View file @
b0b373f0
...
...
@@ -117,14 +117,20 @@ bool SpectrumSPEStream<data_type>::read_from(const std::string &file)
result
=
true
;
break
;
}
else
{
radix_line
(
" Non-matching line read:
\n
"
<<
line
);
}
}
}
else
{
radix_line
(
"Extraneous line in file: "
<<
line
);
radix_line
(
"Extraneous line in file:
\n
"
<<
line
);
}
}
radix_line
(
"End of file reached: last line was:
\n
"
<<
line
);
return
result
;
}
...
...
@@ -236,6 +242,8 @@ bool SpectrumSPEStream<data_type>::write_to(const std::string &file) const
result
=
true
;
}
fclose
(
stream
);
return
result
;
}
...
...
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