Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
61f7f1b6
Commit
61f7f1b6
authored
Oct 09, 2018
by
Purves, Murray
Browse files
Trimming tag string on read
parent
a500477a
Changes
1
Hide whitespace changes
Inline
Side-by-side
radixio/spectrumpcfstream.i.hh
View file @
61f7f1b6
...
...
@@ -233,7 +233,7 @@ bool SpectrumPCFStream<data_type>::read_from(const std::string &file)
std
::
string
dateTime
=
trim_string
(
stream
.
readString
(
23
));
radix_line
(
" date/time: "
<<
dateTime
);
// Tag
std
::
string
tag
=
stream
.
readString
(
1
);
std
::
string
tag
=
trim_string
(
stream
.
readString
(
1
)
)
;
radix_line
(
" tag: "
<<
tag
);
// Live time
float
liveTime
=
stream
.
readFloat
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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