Commit 044304bd authored by thomas.forbriger's avatar thomas.forbriger
Browse files

libtsxx [WP]: don't confuse argument name with namespace name

parent 9c165ded
......@@ -47,14 +47,14 @@ namespace ts {
*/
template<class C>
datrw::odatstream& operator<<(datrw::odatstream& os,
TimeSeries<C, sff::WID2>& ts)
TimeSeries<C, sff::WID2>& s)
{
os << ts.header;
typename TimeSeries<C, sff::WID2>::Tseries series(ts);
os << s.header;
typename TimeSeries<C, sff::WID2>::Tseries series(s);
os << series;
return(os);
} // datrw::odatstream& operator<<(datrw::odatstream& os,
// TimeSeries<C, sff::WID2>& ts)
// TimeSeries<C, sff::WID2>& s)
/* ---------------------------------------------------------------------- */
......@@ -62,15 +62,15 @@ namespace ts {
*/
template<class C>
datrw::idatstream& operator>>(datrw::idatstream& is,
TimeSeries<C, sff::WID2>& ts)
TimeSeries<C, sff::WID2>& s)
{
typename TimeSeries<C, sff::WID2>::Tseries series;
is >> series;
ts=series;
is >> ts.header;
s=series;
is >> s.header;
return(is);
} // datrw::idatstream& operator>>(datrw::idatstream& is,
// TimeSeries<C, sff::WID2>& ts)
// TimeSeries<C, sff::WID2>& s)
} // namespace ts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment